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