n=int(input("Enter n -> "))
s=0
for i in range(n):
    m=int(input("Enter m -> "))
    s=(s*10)+m
print("Integer = ",s)

n=int(input("Enter n -> "))
s=0
for i in range(n):
    m=int(input("Enter m -> "))
    s=(s*10)+m
print("Integer = ",s)
