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