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