You're head of security at a casino that has money being stolen from it. You get the data in the form of strings and you have to set off an alarm if a thief is detected.
"ALARM!""Safe"security("xxxxTTxGxx$xxTxxx") ➞ "ALARM!"
security("xxTxxG$xxxx$xxxx") ➞ "Safe"
security("TTxxxx$xxGxx$Gxxx") ➞ "ALARM!"
Money at the extremes are safe.