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