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