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