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