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