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