My code is giving correct output on the compiler but it is not submitting

the code I have written is correct and is giving correct output I have also downloaded the test cases and they are righyt.But still while submitting the code compiler is showing test cases failed.My code is slightly different than your editorial but still is giving the right output.Tell me where to share my code and what is the error.I have also provided tab space as suggested by @eklavyabhatia1398 .But either way the compiler was showing all test cases failed even online compilers are giving correct outputā€¦its happening in all my questions.
here is my codeā€¦https://onlinegdb.com/rJlIqWbnwr
@mavisupreet5
@eklavyabhatia1398

remove the statement ā€œEnter your inputā€ as in server the testcase is only taking a integer as input.