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