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