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