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