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