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