fork download
  1. main = interact (p.read)
  2.  
  3. p n='{':(p=<<[0..n-1])++"}"
Success #stdin #stdout 0s 4776KB
stdin
3
stdout
{{}{{}}{{}{{}}}}