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