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