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