fork download
  1. def i(n):q=len(n.decode('utf-8'));z=('|'+' '*(2+q)+'|\n')*-(-q/2);print z+'| '+n+' |\n'+z
  2. exec"i(raw_input());"*3
Success #stdin #stdout 0.01s 8976KB
stdin
:D
^_^
ಠ_ಠ
stdout
|    |
| :D |
|    |

|     |
|     |
| ^_^ |
|     |
|     |

|     |
|     |
| ಠ_ಠ |
|     |
|     |