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