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