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