var s:string;i,k:word;begin repeat readln(s);k:=length(s);for i:=1to k+1do write((s+^j)[i],",":72shr(k-i)and 1)until 0>0end.