import re print(re.sub('[1-9]\d*',lambda x:str(int(x.group())+1),open(0).read()))