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