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