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