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