Unable to run the code

dear sir,
the code fine in vs code but there is a problem in the custom input it always show sample input.please check screen shot it is a java script problem LPJSPR157
please help me to proceed