How to make recursive function hold it's original parameter value

welcome to shbcf.ru