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