Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 100 点
問題文
あなたは同じ授業を受けている男性に名前を尋ねました。彼は S と名乗りました。S は英小文字からなる長さ 3 以上 20 以下の文字列です。 あなたは S から適当に連続する 3 文字を選んで、彼のあだ名とすることにしました。彼のあだ名として適切な文字列を 1 つ出力してください。
制約
- 3 ≦ |S| ≦ 20
- S は英小文字からなる。
入力
入力は以下の形式で標準入力から与えられる。
S
出力
答えを出力せよ。
入力例 1
takahashi
出力例 1
tak
入力例 2
naohiro
出力例 2
nao
Score : 100 points
Problem Statement
When you asked some guy in your class his name, he called himself S, where S is a string of length between 3 and 20 (inclusive) consisting of lowercase English letters. You have decided to choose some three consecutive characters from S and make it his nickname. Print a string that is a valid nickname for him.
Constraints
- 3 \leq |S| \leq 20
- S consists of lowercase English letters.
Input
Input is given from Standard Input in the following format:
S
Output
Print your answer.
Sample Input 1
takahashi
Sample Output 1
tak
Sample Input 2
naohiro
Sample Output 2
nao