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