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