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