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