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