Form Biggest Number

sir , here is my code for this problem https://ide.codingblocks.com/s/244531
. I am getting wrong ans and i can’t understand what is wrong with my code. For sample input i am getting right ans.

@harshit.t2409 check for input
1
8
1 34 3 98 9 76 45 4
your code gives - 989764543431
ans - 998764543431
if your doubt gets cleared dont forget to mark it as resolved :smiley: