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