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