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