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