import random
inn=input("Enter A Number:")
CCOutPut = ""
for i in xrange(int(inn)):
newA = random.randint(1111,9999)
newB = random.randint(1111,9999)
newC= random.randint(1111,9999)
newD = random.randint(1111,9999)
CCOutput=(newA,newB,newC,newD)
print(CCOutput)