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