LearnPy Hub
← Strings problems
Easy

First and Last

Read a word and print its first and last characters separated by a space.

Input

One word.

Output

Two characters.

Sample 1

Input
python
Output
p n

Sample 2

Input
a
Output
a a
solution.py
Output appears here
First and Last · Python practice problem · LearnPy Hub