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