#abc266a. A - Middle Letter

A - Middle Letter

Score : 100100 points

问题描述

你将得到一个由小写英文字母组成的奇长度字符串 SS

打印出 SS 的中心字符。

什么是中心字符?对于一个奇长度字符串 TT,其中心字符是从起始位置数的第 T+12\frac{|T|+1}{2} 个字符,其中 T|T| 表示 TT 的长度。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given an odd-length string SS consisting of lowercase English letters.

Print the central character of SS.

What is the central character? For an odd-length string TT, its central character is the T+12\frac{|T|+1}{2}-th character from the beginning, where T|T| is the length of TT.

Constraints

  • SS is an odd-length string consisting of lowercase English letters.
  • The length of SS is between 11 and 9999 (inclusive).

Input

Input is given from Standard Input in the following format:

SS

Output

Print the answer.

Sample Input 1

atcoder

Sample Output 1

o

The central character of atcoder is o.

Sample Input 2

a

Sample Output 2

a

update @ 2024/3/10 11:14:15