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