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