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