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