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