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