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