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