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