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