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