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