# Calculate
a = input ("ggg : ")
print ("1 = **")
print ("2 =  *")
print ("3 =  /")
print ("4 =  +")
print ("5 =  -")
b = input ("    : ")
c = input ("999 : ")
while True:
    if b == 1 :
        print (a**c)
    if b == 2 :
        print (a*c)
    if b == 3 :
        print (a/c)
    if b == 4 :
        print (a+c)
    if b == 5 :
        print (a-c)

    a = a = input ("ggg : ")
    print ("1 = **")
    print ("2 =  *")
    print ("3 =  /")
    print ("4 =  +")
    print ("5 =  -")
    b = b = input ("    : ")
    c = c = input ("999 : ")
