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