print((io.read"*a":gsub("[1-9]%d*",function(s)return s+1 end)))