hey i was solving this problem https://codeforces.me/contest/754/problem/A and i implemented this code https://www.ideone.com/ but got wrong answer on test 1 however it outputs exactly the same for test 1 as the one in the editorial(i read the editorial but decide to do the implementation on my own) which got accepted i am really confused i checked if i had printed some extra spaces but everything was fine please i need help