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