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