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