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