Answer:
8 flags can be chosen for the first position
7 flags are left for the second position
6 flags are left for the third position
8 * 7 * 6 = 336
9.4m questions
12.1m answers