
x=input("enter the value:")
y=input("enter the value:")
if x>0 and y>0:
    print "first quadrant"
elif x<0 and y>0:
    print "second quadrant"
elif x<0 and y<0:
    print"third quadrant"
elif x>0 and y<0:
    print "forth quadrant"
    

    

    
    

     


    
