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