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