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