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