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