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