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