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