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