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