while 1:a=raw_input();n=len(a)/2;print a[:n],a[n:]