FLMOCK04 - RAINBOWA

3rd test case provided by Codechef is a Rainbow String but output shown for that test case is “no” which is not letting me to submit the solution to the problem