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