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