#abc251a. A - Six Characters

A - Six Characters

Score : 100100 points

问题描述

给定一个由小写英文字母组成的字符串 SS。字符串 SS 的长度在 1133(包含两端)之间。

请打印出长度为 66 的字符串,该字符串是 SS 的重复。

可以证明,在本题的约束条件下,存在唯一这样一个字符串。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given a string SS consisting of lowercase English characters. The length of SS is between 11 and 33, inclusive.

Print the string of length 66 that is a repetition of SS.

It can be shown that there uniquely exists such a string under the Constraints of this problem.

Constraints

  • SS is a string consisting of lowercase English characters of length between 11 and 33, inclusive.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the answer string, which is of length 66.

Sample Input 1

abc

Sample Output 1

abcabc

These are strings that are repetitions of S=S = abc: abc, abcabc, abcabcabc, abcabcabcabc, and so on. Among them, abcabc has the length of 66, so abcabc should be printed.

Sample Input 2

zz

Sample Output 2

zzzzzz

update @ 2024/3/10 10:42:22