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