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