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