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