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