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