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