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