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