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