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