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