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