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