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