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