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