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