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