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