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