n = int(input()) while len(str(n)) <= 10: n_length = len(str(n)) num = 10**n_length + 1 n *= num print(n)