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