Factorial broken calculatot

input number greater than 200 is showing stack smashing error

@sam15jain hey samyak forget about error just change max 500 to 1000 and submit it.