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