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