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