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