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