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