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