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