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