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