def readint(): return map(int, input().split()) n = input() while len(n) < 10: n += n print(n)