#273. 字符串左旋2位

    ID: 273 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatString-1gesp3字符串

字符串左旋2位

String Left Rotate 2

Background

This is a basic string manipulation problem designed to test your understanding of string slicing and concatenation.

Problem Description

Given a string, return a "rotated left 2" version where the first 2 characters are moved to the end. The string length will be at least 2.

Input Format

Input is given from Standard Input in the following format.

A string SS.

Output Format

Output is printed to Standard Output in the following format.

The rotated string.

Sample

Hello
lloHe
java
vaja
Hi
Hi

Sample Explanation

For the first sample, the first two characters of "Hello" are "He". Moving them to the end results in "lloHe". For the second sample, the first two characters of "java" are "ja". Moving them to the end results in "vaja". For the third sample, the first two characters of "Hi" are "Hi". Moving them to the end results in "Hi".

Constraints

Time limit: 1 second, Memory limit: 1024 KiB for each test case.