[I've been trying to do this problem,](https://codeforces.com/contest/462/problem/B)↵
but it keeps failing on the 2nd test↵
on my computer it gives the correct answer, but when I try to submit it fails.↵
I tried to work around that test case and failed on the 3rd one↵
so what am I doing wrong?↵
It's standard input/output.↵
here's my code:↵
![ ](/predownloaded/fd/04/fd04ae82fd7f919e609fbfd91d86be50a08c5302.png)↵
↵
also, this is my first post so I apologize if some janky sh!t happens↵
but it keeps failing on the 2nd test↵
on my computer it gives the correct answer, but when I try to submit it fails.↵
I tried to work around that test case and failed on the 3rd one↵
so what am I doing wrong?↵
It's standard input/output.↵
here's my code:↵
![ ](/predownloaded/fd/04/fd04ae82fd7f919e609fbfd91d86be50a08c5302.png)↵
↵
also, this is my first post so I apologize if some janky sh!t happens↵