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