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