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