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