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