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