Problem (Look 2nd Output): 55A - Flea travel
My Submission: 2898599
My Friend's Submission: 2898410
As you see, 2nd test's input is '3' and output should be "NO" but in my 2nd test it says "YES".
Edit: There isn't any problem in my code. 2nd test's answer is different.