← Problem book: C Lesson 74 of 96 · 10 XP

First and last

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

You are given one word of lowercase Latin letters (no longer than 100 characters).

Print the first and last letters of the word, separated by a space.

Example

Input:

hello

Output:

h o

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.