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