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