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