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