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