First time using codeforces, everything looks alright except when I submit for above problem, although it runs perfect on my system, it keeps saying that my program is failing on the first testcase, although it outputs different on my system to what it says that my program outputs.