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