i=input();l=len(i)/2print''.join(s*y for s,y in zip(i[:l],i[l:]))
'g','o','g','l','e',1,10,1,1,1
goooooooooogle
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!