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