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