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