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