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