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