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