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