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