nm1=raw_input(" Enter your name :")
a=input(" Enter Your age :");
nm2=raw_input(" Enter your name :")
b=input(" Enter Your age :");

if(a>b):
    c=a-b
    print nm1," is " , c, "years elder than ", nm2
elif(b>a):
    c=b-a
    print nm2," is " , c, "years elder than ", nm1
    
