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