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