Easy
Clean the Spaces
Read a line with extra spaces at both ends. Print it between square brackets after
strip(), like [text].Input
One line.
Output
One line.
Sample 1
Input
hello
Output
[hello]
Sample 2
Input
x
Output
[x]
Output appears here