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