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