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