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