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