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