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