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