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