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