def main(): N = int(input()) S = str(N) ans = "" for _ in range(16): ans += S print(ans) return main()