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