My code:
for i in sys.stdin.readlines(): lines = i.strip() for j in range(3): sys.stdout.write(lines + \'\\n\')
Test Case 1: