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