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