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