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