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