a=input("enter first username")
b=input("enter first password")
c=input("enter second username")
d=input("enter second password")
if  a==c  and b==d:
     print(a,b)
else:
     print("invalid")
     
    
