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