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