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