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