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