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