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