while 1:r=raw_input().split("`");print"".join(r.pop(0).ljust(ord(c))for c in["","","$\r"][-~len(r[2])/5])