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