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