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