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