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