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