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