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