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