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