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