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