while True:t=input();print"%s%d%s"%("["*t,0,"]"*t)