Given a String as input, your task is to output
42 only if the input String happens to be exactly the following :
It may output any other value, produce an error or not output at all, if the input does not equal the aforementioned String.
This is code-golf, so the shortest code in bytes wins!
abbcccddddeeeee...zzabcdoes not satisfy that i suppose and i can see some programs giving yes on that input. \$\endgroup\$