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