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