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