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