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