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