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