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