string to integer logic

welcome to shbcf.ru