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