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