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