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