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