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