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