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