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