Errors popping out

In my complier the code runs fine but while submiting it is showing that my code has 30 errors
I cant figure them out

here:


you declared main twice .also dont output more things than asked in the output format ,that ll fail the test cases

also your code isnt correct.

see this test case:
8
1 34 3 98 9 76 45 4
Expected Output
998764543431