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