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