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