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