Mirror Room

Given a word SSS​, print it and its reverse out on separate lines with each line having borders to create a "mirror" effect.

Input Format

A word SSS​​

Output Format

The first line has the word SSS with borders

The second line has SSS​ reversed with borders

Sample Input

hello

Sample Output

|hello| |olleh|

Submit