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