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