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