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