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