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