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