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