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