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