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