def multiplo(x):
    return (x + 9) / 10 * 10

for x in range(150, 161):
	print(x, multiplo(x))