Flags associated. all the combinations would not work. haven't check
Final Sumbssion Code
Sumbission