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