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