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