Acabes International interview question

7, write a program"Malayalam" expected output: Y