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