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