while 1: try: _=raw_input().replace(' ',' . ').split() print' '.join(_[0][a]+_[a+1]for a in range(len(_[0]))).replace('.','')if len(_)>1else _[0] except:break
AMK LA A OTA BIL OLEK OLEK EWWLPRK NIGMA ERSJI IGHT O AZ OLEJNY ABC A
ALA MA KOTA BOLEK I L ENIGMA W WERSJI LIGHT PO RAZ KOLEJNY
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!