program pil_15_32_e(input1,output1);
type
	txt = file of char;
var
	inp : txt;

procedure next(var f : txt);
var
	temp : txt;
	cur : char;
begin
	assign(temp, 'output1');
	reset(f);
	rewrite(temp);
	while not eof(f) do begin
		read(f, cur);
		case cur of
			'0' : cur := '1';
			'1' : cur := '2';
			'2' : cur := '3';
			'3' : cur := '4';
			'4' : cur := '5';
			'5' : cur := '6';
			'6' : cur := '7';
			'7' : cur := '8';
			'8' : cur := '9';
			'9' : cur := '0';
		end;
		write(temp, cur);
	end;
	rewrite(f);
	reset(temp);
	while not eof(temp) do begin
		read(temp, cur);
		write(f, cur);
	end;
	close(temp);
end;

begin
	assign(inp, 'input1');
	next(inp);
	close(inp);
end.