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