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