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