Rating:
TL;DR:Subtract each character of the final value with each character of flag.
I don't remember