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