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