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