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