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