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