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