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