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