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