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