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