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