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