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