#269. 获取字符串前半部分
获取字符串前半部分
First Half of String
Background
Congcong is currently learning about string manipulation. He encountered an interesting problem that requires extracting a specific part from a given string.
Problem Description
Given a string of even length, return its first half. For example, the string "WooHoo" yields "Woo".
Input Format
Input is given from standard input in the following format.
An even-length string .
Output Format
Output is printed to standard output in the following format.
The first half of string .
Sample
WooHoo
"Woo"
HelloThere
"Hello"
abcdef
"abc"
Sample Explanation
For the input string "WooHoo\