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