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