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