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