A - Rotate Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

長さ 3 の文字列 S が与えられます。
S の先頭の文字を S の末尾に移動して得られる文字列 S' を出力してください。

制約

  • S は英小文字のみからなる長さ 3 の文字列である

入力

入力は以下の形式で標準入力から与えられる。

S

出力

S' を出力せよ。


入力例 1

abc

出力例 1

bca

abc の先頭の文字 a を末尾に移動すると bca となります。


入力例 2

aab

出力例 2

aba

Score : 100 points

Problem Statement

Given is a string S of length 3.
Move the first character of S to the end of S and print the resulting string S'.

Constraints

  • S is a string of length 3 consisting of lowercase English letters.

Input

Input is given from Standard Input in the following format:

S

Output

Print S'.


Sample Input 1

abc

Sample Output 1

bca

Moving the first character a of the string abc results in bca.


Sample Input 2

aab

Sample Output 2

aba