Wrong answer in 2 test cases

Please help my code is failing in 2 test cases

@HemantKumar you missed the corner case for n=1 ans is no but your coming yes
also do <=n corrected and commented


dont forget to hit like and mark resolved if cleared :smiley: