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