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