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