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