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