101970: [AtCoder]ABC197 A - Rotate
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
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