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