There are 6 baskets on the table. Each basket has 2, 0, 17, 7, 4 and 8 apples. Olivia chose second, Liam chose sixth, Emma chose fifth, Matt chose first, John chose fourth, and Sean chose third. How many apples did Matt and Emma choose in total?