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