its giving wrong answer pls check link for my code:
Approarch was right, you just missed to write code.