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