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