#269. 获取字符串前半部分

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

获取字符串前半部分

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 SS.

Output Format

Output is printed to standard output in the following format.

The first half of string SS.

Sample

WooHoo
"Woo"
HelloThere
"Hello"
abcdef
"abc"

Sample Explanation

For the input string "WooHoo\