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