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