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