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