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