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