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