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