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