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