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