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