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