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