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