Mirror Room
Given a word , print it and its reverse out on separate lines with each line having borders to create a "mirror" effect.
INPUT FORMAT:
A word
OUTPUT FORMAT:
The first line has the word with borders
The second line has reversed with borders
SAMPLE INPUT:
hello
SAMPLE OUTPUT:
|hello|
|olleh|
Write code below: