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