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