fork(4) download
  1. n=input();s,x,l=60-3*n,(n,20)[n>20],[' _',"_/ ","o "]
  2. for e in l:p=e+(e[::-1],(' \_',' \/')[s<1])['/'in e];print" "*x+p+" "*s+(p[-1]+p[1:-1]+p[0]).replace("//","\/")
Success #stdin #stdout 0.01s 9016KB
stdin
11
stdout
             __                               __  
           _/  \_                           _/  \_
           o    o                           o    o