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