<reponame>kagemeka/atcoder-submissions<filename>jp.atcoder/abc251/abc251_a/31673235.py<gh_stars>1-10
def main() -> None:
    s = input()
    print(s * (6 // len(s)))


if __name__ == "__main__":
    main()

def main() -> None:
    s = input()
    print(s * (6 // len(s)))


if __name__ == "__main__":
    main()