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