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