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