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