# [S.I.L.O.S](http://github.com/rjhunjhunwala/S.I.L.O.S), 55 bytes

    readIO
    c=i
    c%2
    c*45
    c-92
    c|
    lbla
    printChar c
    i-1
    if i a

[Try it online!](http://silos.tryitonline.net/#code=cmVhZElPCmM9aQpjJTIKYyo0NQpjLTkyCmN8CmxibGEKcHJpbnRDaGFyIGMKaS0xCmlmIGkgYQ&input=&args=NQ)

Port of [this answer in C](http://codegolf.stackexchange.com/a/91728/48934).