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