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