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