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