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