Sir , I am getting compilation error while I write my code perfectly .I had already submitted it.
Compilation Error
Hey @nipulagarwal_09, your code needs input before running, so if you are trying to run, first click on input button and than provide the custom input and than click on run button.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. 
@Vasu sir I had provide the custom input but It is still showing Compilation error…