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