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