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