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