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