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