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