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