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