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