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