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