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