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