FSTCHAR - First Char

no tags 

Just like the problem ASCII 1, this short description problem is intended to review basic concepts, encourage you to read about new languages and is a score length based problem that can put the usual rank upside down. You just have to print the first char of a given input.

Input

One string, whose length is not longer than 100 characters, of printable and non-printable characters (i.e., 1 <= ASCII code <= 126).

Output

The first, and just the first, character of the string.

Score

Source length.

Example

Input:
a

Output
a
Input:
Foo.

Output
F
Input:
The quick brown fox jumps over the lazy dog.

Output
T

hide comments
Adam Kusmirek: 2014-12-22 21:31:00

@author
can confirm, python works if one respects a certain input case ;)

edit: py3.4 does not, internal error

Reply (numerix): This problem still runs on Pyramid cluster. Python 3.4 and PyPy are only available on Cube cluster.

Last edit: 2014-12-23 09:02:31
anurag garg: 2014-03-18 08:08:46

@ author whats wrong in my submission
thanks

-----
The statement says 1 <= ASCII code <= 126, but your (disqualified) code just consider letters.
Alexandre

Last edit: 2014-03-18 17:30:30
Alexandre Henrique Afonso Campos: 2014-03-14 03:20:41

All the submitted python programs got NZEC, but it is totally possible
<gone>

Last edit: 2023-04-04 20:00:41

Added by:campos20
Date:2014-01-29
Time limit:1s
Source limit:256B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64
Resource:Own.