Skip to content

Instantly share code, notes, and snippets.

@ofan
Created April 14, 2011 03:16
Show Gist options
  • Save ofan/918838 to your computer and use it in GitHub Desktop.
Save ofan/918838 to your computer and use it in GitHub Desktop.
# coding:utf-8
if __name__=='__main__':
for i in range(4):
raw_input()
count=1
first=''
second=''
while True:
try:
first+=raw_input()
second+=raw_input()
if count>=213:
print first+'\n'+second+'\n'
first=''
second=''
count=1
else:
first+=' '
second+=' '
except:
if len(first):
print first+'\n'
if len(second):
print second+'\n'
break
count+=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment