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