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