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