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