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