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