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