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