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