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