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