import sys input = sys.stdin.readline N=list(input().strip()) LEN=len(N) ANS=N*LEN print("".join(ANS))