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