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