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