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