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