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