Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@AceLewis @JuanPotato
20822 lines (20818 sloc) 753 KB
# my_first_calculator.py by AceLewis
# TODO: Make it work for all floating point numbers too
if 3/2 == 1: # Because Python 2 does not know maths
input = raw_input # Python 2 compatibility
print('Welcome to this calculator!')
print('It can add, subtract, multiply and divide whole numbers from 0 to 50')
num1 = int(input('Please choose your first number: '))
sign = input('What do you want to do? +, -, /, or *: ')
num2 = int(input('Please choose your second number: '))
if num1 == 0 and sign == '+' and num2 == 0:
print("0+0 = 0")
if num1 == 0 and sign == '+' and num2 == 1:
print("0+1 = 1")
if num1 == 0 and sign == '+' and num2 == 2:
print("0+2 = 2")
if num1 == 0 and sign == '+' and num2 == 3:
print("0+3 = 3")
if num1 == 0 and sign == '+' and num2 == 4:
print("0+4 = 4")
if num1 == 0 and sign == '+' and num2 == 5:
print("0+5 = 5")
if num1 == 0 and sign == '+' and num2 == 6:
print("0+6 = 6")
if num1 == 0 and sign == '+' and num2 == 7:
print("0+7 = 7")
if num1 == 0 and sign == '+' and num2 == 8:
print("0+8 = 8")
if num1 == 0 and sign == '+' and num2 == 9:
print("0+9 = 9")
if num1 == 0 and sign == '+' and num2 == 10:
print("0+10 = 10")
if num1 == 0 and sign == '+' and num2 == 11:
print("0+11 = 11")
if num1 == 0 and sign == '+' and num2 == 12:
print("0+12 = 12")
if num1 == 0 and sign == '+' and num2 == 13:
print("0+13 = 13")
if num1 == 0 and sign == '+' and num2 == 14:
print("0+14 = 14")
if num1 == 0 and sign == '+' and num2 == 15:
print("0+15 = 15")
if num1 == 0 and sign == '+' and num2 == 16:
print("0+16 = 16")
if num1 == 0 and sign == '+' and num2 == 17:
print("0+17 = 17")
if num1 == 0 and sign == '+' and num2 == 18:
print("0+18 = 18")
if num1 == 0 and sign == '+' and num2 == 19:
print("0+19 = 19")
if num1 == 0 and sign == '+' and num2 == 20:
print("0+20 = 20")
if num1 == 0 and sign == '+' and num2 == 21:
print("0+21 = 21")
if num1 == 0 and sign == '+' and num2 == 22:
print("0+22 = 22")
if num1 == 0 and sign == '+' and num2 == 23:
print("0+23 = 23")
if num1 == 0 and sign == '+' and num2 == 24:
print("0+24 = 24")
if num1 == 0 and sign == '+' and num2 == 25:
print("0+25 = 25")
if num1 == 0 and sign == '+' and num2 == 26:
print("0+26 = 26")
if num1 == 0 and sign == '+' and num2 == 27:
print("0+27 = 27")
if num1 == 0 and sign == '+' and num2 == 28:
print("0+28 = 28")
if num1 == 0 and sign == '+' and num2 == 29:
print("0+29 = 29")
if num1 == 0 and sign == '+' and num2 == 30:
print("0+30 = 30")
if num1 == 0 and sign == '+' and num2 == 31:
print("0+31 = 31")
if num1 == 0 and sign == '+' and num2 == 32:
print("0+32 = 32")
if num1 == 0 and sign == '+' and num2 == 33:
print("0+33 = 33")
if num1 == 0 and sign == '+' and num2 == 34:
print("0+34 = 34")
if num1 == 0 and sign == '+' and num2 == 35:
print("0+35 = 35")
if num1 == 0 and sign == '+' and num2 == 36:
print("0+36 = 36")
if num1 == 0 and sign == '+' and num2 == 37:
print("0+37 = 37")
if num1 == 0 and sign == '+' and num2 == 38:
print("0+38 = 38")
if num1 == 0 and sign == '+' and num2 == 39:
print("0+39 = 39")
if num1 == 0 and sign == '+' and num2 == 40:
print("0+40 = 40")
if num1 == 0 and sign == '+' and num2 == 41:
print("0+41 = 41")
if num1 == 0 and sign == '+' and num2 == 42:
print("0+42 = 42")
if num1 == 0 and sign == '+' and num2 == 43:
print("0+43 = 43")
if num1 == 0 and sign == '+' and num2 == 44:
print("0+44 = 44")
if num1 == 0 and sign == '+' and num2 == 45:
print("0+45 = 45")
if num1 == 0 and sign == '+' and num2 == 46:
print("0+46 = 46")
if num1 == 0 and sign == '+' and num2 == 47:
print("0+47 = 47")
if num1 == 0 and sign == '+' and num2 == 48:
print("0+48 = 48")
if num1 == 0 and sign == '+' and num2 == 49:
print("0+49 = 49")
if num1 == 0 and sign == '+' and num2 == 50:
print("0+50 = 50")
if num1 == 1 and sign == '+' and num2 == 0:
print("1+0 = 1")
if num1 == 1 and sign == '+' and num2 == 1:
print("1+1 = 2")
if num1 == 1 and sign == '+' and num2 == 2:
print("1+2 = 3")
if num1 == 1 and sign == '+' and num2 == 3:
print("1+3 = 4")
if num1 == 1 and sign == '+' and num2 == 4:
print("1+4 = 5")
if num1 == 1 and sign == '+' and num2 == 5:
print("1+5 = 6")
if num1 == 1 and sign == '+' and num2 == 6:
print("1+6 = 7")
if num1 == 1 and sign == '+' and num2 == 7:
print("1+7 = 8")
if num1 == 1 and sign == '+' and num2 == 8:
print("1+8 = 9")
if num1 == 1 and sign == '+' and num2 == 9:
print("1+9 = 10")
if num1 == 1 and sign == '+' and num2 == 10:
print("1+10 = 11")
if num1 == 1 and sign == '+' and num2 == 11:
print("1+11 = 12")
if num1 == 1 and sign == '+' and num2 == 12:
print("1+12 = 13")
if num1 == 1 and sign == '+' and num2 == 13:
print("1+13 = 14")
if num1 == 1 and sign == '+' and num2 == 14:
print("1+14 = 15")
if num1 == 1 and sign == '+' and num2 == 15:
print("1+15 = 16")
if num1 == 1 and sign == '+' and num2 == 16:
print("1+16 = 17")
if num1 == 1 and sign == '+' and num2 == 17:
print("1+17 = 18")
if num1 == 1 and sign == '+' and num2 == 18:
print("1+18 = 19")
if num1 == 1 and sign == '+' and num2 == 19:
print("1+19 = 20")
if num1 == 1 and sign == '+' and num2 == 20:
print("1+20 = 21")
if num1 == 1 and sign == '+' and num2 == 21:
print("1+21 = 22")
if num1 == 1 and sign == '+' and num2 == 22:
print("1+22 = 23")
if num1 == 1 and sign == '+' and num2 == 23:
print("1+23 = 24")
if num1 == 1 and sign == '+' and num2 == 24:
print("1+24 = 25")
if num1 == 1 and sign == '+' and num2 == 25:
print("1+25 = 26")
if num1 == 1 and sign == '+' and num2 == 26:
print("1+26 = 27")
if num1 == 1 and sign == '+' and num2 == 27:
print("1+27 = 28")
if num1 == 1 and sign == '+' and num2 == 28:
print("1+28 = 29")
if num1 == 1 and sign == '+' and num2 == 29:
print("1+29 = 30")
if num1 == 1 and sign == '+' and num2 == 30:
print("1+30 = 31")
if num1 == 1 and sign == '+' and num2 == 31:
print("1+31 = 32")
if num1 == 1 and sign == '+' and num2 == 32:
print("1+32 = 33")
if num1 == 1 and sign == '+' and num2 == 33:
print("1+33 = 34")
if num1 == 1 and sign == '+' and num2 == 34:
print("1+34 = 35")
if num1 == 1 and sign == '+' and num2 == 35:
print("1+35 = 36")
if num1 == 1 and sign == '+' and num2 == 36:
print("1+36 = 37")
if num1 == 1 and sign == '+' and num2 == 37:
print("1+37 = 38")
if num1 == 1 and sign == '+' and num2 == 38:
print("1+38 = 39")
if num1 == 1 and sign == '+' and num2 == 39:
print("1+39 = 40")
if num1 == 1 and sign == '+' and num2 == 40:
print("1+40 = 41")
if num1 == 1 and sign == '+' and num2 == 41:
print("1+41 = 42")
if num1 == 1 and sign == '+' and num2 == 42:
print("1+42 = 43")
if num1 == 1 and sign == '+' and num2 == 43:
print("1+43 = 44")
if num1 == 1 and sign == '+' and num2 == 44:
print("1+44 = 45")
if num1 == 1 and sign == '+' and num2 == 45:
print("1+45 = 46")
if num1 == 1 and sign == '+' and num2 == 46:
print("1+46 = 47")
if num1 == 1 and sign == '+' and num2 == 47:
print("1+47 = 48")
if num1 == 1 and sign == '+' and num2 == 48:
print("1+48 = 49")
if num1 == 1 and sign == '+' and num2 == 49:
print("1+49 = 50")
if num1 == 1 and sign == '+' and num2 == 50:
print("1+50 = 51")
if num1 == 2 and sign == '+' and num2 == 0:
print("2+0 = 2")
if num1 == 2 and sign == '+' and num2 == 1:
print("2+1 = 3")
if num1 == 2 and sign == '+' and num2 == 2:
print("2+2 = 4")
if num1 == 2 and sign == '+' and num2 == 3:
print("2+3 = 5")
if num1 == 2 and sign == '+' and num2 == 4:
print("2+4 = 6")
if num1 == 2 and sign == '+' and num2 == 5:
print("2+5 = 7")
if num1 == 2 and sign == '+' and num2 == 6:
print("2+6 = 8")
if num1 == 2 and sign == '+' and num2 == 7:
print("2+7 = 9")
if num1 == 2 and sign == '+' and num2 == 8:
print("2+8 = 10")
if num1 == 2 and sign == '+' and num2 == 9:
print("2+9 = 11")
if num1 == 2 and sign == '+' and num2 == 10:
print("2+10 = 12")
if num1 == 2 and sign == '+' and num2 == 11:
print("2+11 = 13")
if num1 == 2 and sign == '+' and num2 == 12:
print("2+12 = 14")
if num1 == 2 and sign == '+' and num2 == 13:
print("2+13 = 15")
if num1 == 2 and sign == '+' and num2 == 14:
print("2+14 = 16")
if num1 == 2 and sign == '+' and num2 == 15:
print("2+15 = 17")
if num1 == 2 and sign == '+' and num2 == 16:
print("2+16 = 18")
if num1 == 2 and sign == '+' and num2 == 17:
print("2+17 = 19")
if num1 == 2 and sign == '+' and num2 == 18:
print("2+18 = 20")
if num1 == 2 and sign == '+' and num2 == 19:
print("2+19 = 21")
if num1 == 2 and sign == '+' and num2 == 20:
print("2+20 = 22")
if num1 == 2 and sign == '+' and num2 == 21:
print("2+21 = 23")
if num1 == 2 and sign == '+' and num2 == 22:
print("2+22 = 24")
if num1 == 2 and sign == '+' and num2 == 23:
print("2+23 = 25")
if num1 == 2 and sign == '+' and num2 == 24:
print("2+24 = 26")
if num1 == 2 and sign == '+' and num2 == 25:
print("2+25 = 27")
if num1 == 2 and sign == '+' and num2 == 26:
print("2+26 = 28")
if num1 == 2 and sign == '+' and num2 == 27:
print("2+27 = 29")
if num1 == 2 and sign == '+' and num2 == 28:
print("2+28 = 30")
if num1 == 2 and sign == '+' and num2 == 29:
print("2+29 = 31")
if num1 == 2 and sign == '+' and num2 == 30:
print("2+30 = 32")
if num1 == 2 and sign == '+' and num2 == 31:
print("2+31 = 33")
if num1 == 2 and sign == '+' and num2 == 32:
print("2+32 = 34")
if num1 == 2 and sign == '+' and num2 == 33:
print("2+33 = 35")
if num1 == 2 and sign == '+' and num2 == 34:
print("2+34 = 36")
if num1 == 2 and sign == '+' and num2 == 35:
print("2+35 = 37")
if num1 == 2 and sign == '+' and num2 == 36:
print("2+36 = 38")
if num1 == 2 and sign == '+' and num2 == 37:
print("2+37 = 39")
if num1 == 2 and sign == '+' and num2 == 38:
print("2+38 = 40")
if num1 == 2 and sign == '+' and num2 == 39:
print("2+39 = 41")
if num1 == 2 and sign == '+' and num2 == 40:
print("2+40 = 42")
if num1 == 2 and sign == '+' and num2 == 41:
print("2+41 = 43")
if num1 == 2 and sign == '+' and num2 == 42:
print("2+42 = 44")
if num1 == 2 and sign == '+' and num2 == 43:
print("2+43 = 45")
if num1 == 2 and sign == '+' and num2 == 44:
print("2+44 = 46")
if num1 == 2 and sign == '+' and num2 == 45:
print("2+45 = 47")
if num1 == 2 and sign == '+' and num2 == 46:
print("2+46 = 48")
if num1 == 2 and sign == '+' and num2 == 47:
print("2+47 = 49")
if num1 == 2 and sign == '+' and num2 == 48:
print("2+48 = 50")
if num1 == 2 and sign == '+' and num2 == 49:
print("2+49 = 51")
if num1 == 2 and sign == '+' and num2 == 50:
print("2+50 = 52")
if num1 == 3 and sign == '+' and num2 == 0:
print("3+0 = 3")
if num1 == 3 and sign == '+' and num2 == 1:
print("3+1 = 4")
if num1 == 3 and sign == '+' and num2 == 2:
print("3+2 = 5")
if num1 == 3 and sign == '+' and num2 == 3:
print("3+3 = 6")
if num1 == 3 and sign == '+' and num2 == 4:
print("3+4 = 7")
if num1 == 3 and sign == '+' and num2 == 5:
print("3+5 = 8")
if num1 == 3 and sign == '+' and num2 == 6:
print("3+6 = 9")
if num1 == 3 and sign == '+' and num2 == 7:
print("3+7 = 10")
if num1 == 3 and sign == '+' and num2 == 8:
print("3+8 = 11")
if num1 == 3 and sign == '+' and num2 == 9:
print("3+9 = 12")
if num1 == 3 and sign == '+' and num2 == 10:
print("3+10 = 13")
if num1 == 3 and sign == '+' and num2 == 11:
print("3+11 = 14")
if num1 == 3 and sign == '+' and num2 == 12:
print("3+12 = 15")
if num1 == 3 and sign == '+' and num2 == 13:
print("3+13 = 16")
if num1 == 3 and sign == '+' and num2 == 14:
print("3+14 = 17")
if num1 == 3 and sign == '+' and num2 == 15:
print("3+15 = 18")
if num1 == 3 and sign == '+' and num2 == 16:
print("3+16 = 19")
if num1 == 3 and sign == '+' and num2 == 17:
print("3+17 = 20")
if num1 == 3 and sign == '+' and num2 == 18:
print("3+18 = 21")
if num1 == 3 and sign == '+' and num2 == 19:
print("3+19 = 22")
if num1 == 3 and sign == '+' and num2 == 20:
print("3+20 = 23")
if num1 == 3 and sign == '+' and num2 == 21:
print("3+21 = 24")
if num1 == 3 and sign == '+' and num2 == 22:
print("3+22 = 25")
if num1 == 3 and sign == '+' and num2 == 23:
print("3+23 = 26")
if num1 == 3 and sign == '+' and num2 == 24:
print("3+24 = 27")
if num1 == 3 and sign == '+' and num2 == 25:
print("3+25 = 28")
if num1 == 3 and sign == '+' and num2 == 26:
print("3+26 = 29")
if num1 == 3 and sign == '+' and num2 == 27:
print("3+27 = 30")
if num1 == 3 and sign == '+' and num2 == 28:
print("3+28 = 31")
if num1 == 3 and sign == '+' and num2 == 29:
print("3+29 = 32")
if num1 == 3 and sign == '+' and num2 == 30:
print("3+30 = 33")
if num1 == 3 and sign == '+' and num2 == 31:
print("3+31 = 34")
if num1 == 3 and sign == '+' and num2 == 32:
print("3+32 = 35")
if num1 == 3 and sign == '+' and num2 == 33:
print("3+33 = 36")
if num1 == 3 and sign == '+' and num2 == 34:
print("3+34 = 37")
if num1 == 3 and sign == '+' and num2 == 35:
print("3+35 = 38")
if num1 == 3 and sign == '+' and num2 == 36:
print("3+36 = 39")
if num1 == 3 and sign == '+' and num2 == 37:
print("3+37 = 40")
if num1 == 3 and sign == '+' and num2 == 38:
print("3+38 = 41")
if num1 == 3 and sign == '+' and num2 == 39:
print("3+39 = 42")
if num1 == 3 and sign == '+' and num2 == 40:
print("3+40 = 43")
if num1 == 3 and sign == '+' and num2 == 41:
print("3+41 = 44")
if num1 == 3 and sign == '+' and num2 == 42:
print("3+42 = 45")
if num1 == 3 and sign == '+' and num2 == 43:
print("3+43 = 46")
if num1 == 3 and sign == '+' and num2 == 44:
print("3+44 = 47")
if num1 == 3 and sign == '+' and num2 == 45:
print("3+45 = 48")
if num1 == 3 and sign == '+' and num2 == 46:
print("3+46 = 49")
if num1 == 3 and sign == '+' and num2 == 47:
print("3+47 = 50")
if num1 == 3 and sign == '+' and num2 == 48:
print("3+48 = 51")
if num1 == 3 and sign == '+' and num2 == 49:
print("3+49 = 52")
if num1 == 3 and sign == '+' and num2 == 50:
print("3+50 = 53")
if num1 == 4 and sign == '+' and num2 == 0:
print("4+0 = 4")
if num1 == 4 and sign == '+' and num2 == 1:
print("4+1 = 5")
if num1 == 4 and sign == '+' and num2 == 2:
print("4+2 = 6")
if num1 == 4 and sign == '+' and num2 == 3:
print("4+3 = 7")
if num1 == 4 and sign == '+' and num2 == 4:
print("4+4 = 8")
if num1 == 4 and sign == '+' and num2 == 5:
print("4+5 = 9")
if num1 == 4 and sign == '+' and num2 == 6:
print("4+6 = 10")
if num1 == 4 and sign == '+' and num2 == 7:
print("4+7 = 11")
if num1 == 4 and sign == '+' and num2 == 8:
print("4+8 = 12")
if num1 == 4 and sign == '+' and num2 == 9:
print("4+9 = 13")
if num1 == 4 and sign == '+' and num2 == 10:
print("4+10 = 14")
if num1 == 4 and sign == '+' and num2 == 11:
print("4+11 = 15")
if num1 == 4 and sign == '+' and num2 == 12:
print("4+12 = 16")
if num1 == 4 and sign == '+' and num2 == 13:
print("4+13 = 17")
if num1 == 4 and sign == '+' and num2 == 14:
print("4+14 = 18")
if num1 == 4 and sign == '+' and num2 == 15:
print("4+15 = 19")
if num1 == 4 and sign == '+' and num2 == 16:
print("4+16 = 20")
if num1 == 4 and sign == '+' and num2 == 17:
print("4+17 = 21")
if num1 == 4 and sign == '+' and num2 == 18:
print("4+18 = 22")
if num1 == 4 and sign == '+' and num2 == 19:
print("4+19 = 23")
if num1 == 4 and sign == '+' and num2 == 20:
print("4+20 = 24")
if num1 == 4 and sign == '+' and num2 == 21:
print("4+21 = 25")
if num1 == 4 and sign == '+' and num2 == 22:
print("4+22 = 26")
if num1 == 4 and sign == '+' and num2 == 23:
print("4+23 = 27")
if num1 == 4 and sign == '+' and num2 == 24:
print("4+24 = 28")
if num1 == 4 and sign == '+' and num2 == 25:
print("4+25 = 29")
if num1 == 4 and sign == '+' and num2 == 26:
print("4+26 = 30")
if num1 == 4 and sign == '+' and num2 == 27:
print("4+27 = 31")
if num1 == 4 and sign == '+' and num2 == 28:
print("4+28 = 32")
if num1 == 4 and sign == '+' and num2 == 29:
print("4+29 = 33")
if num1 == 4 and sign == '+' and num2 == 30:
print("4+30 = 34")
if num1 == 4 and sign == '+' and num2 == 31:
print("4+31 = 35")
if num1 == 4 and sign == '+' and num2 == 32:
print("4+32 = 36")
if num1 == 4 and sign == '+' and num2 == 33:
print("4+33 = 37")
if num1 == 4 and sign == '+' and num2 == 34:
print("4+34 = 38")
if num1 == 4 and sign == '+' and num2 == 35:
print("4+35 = 39")
if num1 == 4 and sign == '+' and num2 == 36:
print("4+36 = 40")
if num1 == 4 and sign == '+' and num2 == 37:
print("4+37 = 41")
if num1 == 4 and sign == '+' and num2 == 38:
print("4+38 = 42")
if num1 == 4 and sign == '+' and num2 == 39:
print("4+39 = 43")
if num1 == 4 and sign == '+' and num2 == 40:
print("4+40 = 44")
if num1 == 4 and sign == '+' and num2 == 41:
print("4+41 = 45")
if num1 == 4 and sign == '+' and num2 == 42:
print("4+42 = 46")
if num1 == 4 and sign == '+' and num2 == 43:
print("4+43 = 47")
if num1 == 4 and sign == '+' and num2 == 44:
print("4+44 = 48")
if num1 == 4 and sign == '+' and num2 == 45:
print("4+45 = 49")
if num1 == 4 and sign == '+' and num2 == 46:
print("4+46 = 50")
if num1 == 4 and sign == '+' and num2 == 47:
print("4+47 = 51")
if num1 == 4 and sign == '+' and num2 == 48:
print("4+48 = 52")
if num1 == 4 and sign == '+' and num2 == 49:
print("4+49 = 53")
if num1 == 4 and sign == '+' and num2 == 50:
print("4+50 = 54")
if num1 == 5 and sign == '+' and num2 == 0:
print("5+0 = 5")
if num1 == 5 and sign == '+' and num2 == 1:
print("5+1 = 6")
if num1 == 5 and sign == '+' and num2 == 2:
print("5+2 = 7")
if num1 == 5 and sign == '+' and num2 == 3:
print("5+3 = 8")
if num1 == 5 and sign == '+' and num2 == 4:
print("5+4 = 9")
if num1 == 5 and sign == '+' and num2 == 5:
print("5+5 = 10")
if num1 == 5 and sign == '+' and num2 == 6:
print("5+6 = 11")
if num1 == 5 and sign == '+' and num2 == 7:
print("5+7 = 12")
if num1 == 5 and sign == '+' and num2 == 8:
print("5+8 = 13")
if num1 == 5 and sign == '+' and num2 == 9:
print("5+9 = 14")
if num1 == 5 and sign == '+' and num2 == 10:
print("5+10 = 15")
if num1 == 5 and sign == '+' and num2 == 11:
print("5+11 = 16")
if num1 == 5 and sign == '+' and num2 == 12:
print("5+12 = 17")
if num1 == 5 and sign == '+' and num2 == 13:
print("5+13 = 18")
if num1 == 5 and sign == '+' and num2 == 14:
print("5+14 = 19")
if num1 == 5 and sign == '+' and num2 == 15:
print("5+15 = 20")
if num1 == 5 and sign == '+' and num2 == 16:
print("5+16 = 21")
if num1 == 5 and sign == '+' and num2 == 17:
print("5+17 = 22")
if num1 == 5 and sign == '+' and num2 == 18:
print("5+18 = 23")
if num1 == 5 and sign == '+' and num2 == 19:
print("5+19 = 24")
if num1 == 5 and sign == '+' and num2 == 20:
print("5+20 = 25")
if num1 == 5 and sign == '+' and num2 == 21:
print("5+21 = 26")
if num1 == 5 and sign == '+' and num2 == 22:
print("5+22 = 27")
if num1 == 5 and sign == '+' and num2 == 23:
print("5+23 = 28")
if num1 == 5 and sign == '+' and num2 == 24:
print("5+24 = 29")
if num1 == 5 and sign == '+' and num2 == 25:
print("5+25 = 30")
if num1 == 5 and sign == '+' and num2 == 26:
print("5+26 = 31")
if num1 == 5 and sign == '+' and num2 == 27:
print("5+27 = 32")
if num1 == 5 and sign == '+' and num2 == 28:
print("5+28 = 33")
if num1 == 5 and sign == '+' and num2 == 29:
print("5+29 = 34")
if num1 == 5 and sign == '+' and num2 == 30:
print("5+30 = 35")
if num1 == 5 and sign == '+' and num2 == 31:
print("5+31 = 36")
if num1 == 5 and sign == '+' and num2 == 32:
print("5+32 = 37")
if num1 == 5 and sign == '+' and num2 == 33:
print("5+33 = 38")
if num1 == 5 and sign == '+' and num2 == 34:
print("5+34 = 39")
if num1 == 5 and sign == '+' and num2 == 35:
print("5+35 = 40")
if num1 == 5 and sign == '+' and num2 == 36:
print("5+36 = 41")
if num1 == 5 and sign == '+' and num2 == 37:
print("5+37 = 42")
if num1 == 5 and sign == '+' and num2 == 38:
print("5+38 = 43")
if num1 == 5 and sign == '+' and num2 == 39:
print("5+39 = 44")
if num1 == 5 and sign == '+' and num2 == 40:
print("5+40 = 45")
if num1 == 5 and sign == '+' and num2 == 41:
print("5+41 = 46")
if num1 == 5 and sign == '+' and num2 == 42:
print("5+42 = 47")
if num1 == 5 and sign == '+' and num2 == 43:
print("5+43 = 48")
if num1 == 5 and sign == '+' and num2 == 44:
print("5+44 = 49")
if num1 == 5 and sign == '+' and num2 == 45:
print("5+45 = 50")
if num1 == 5 and sign == '+' and num2 == 46:
print("5+46 = 51")
if num1 == 5 and sign == '+' and num2 == 47:
print("5+47 = 52")
if num1 == 5 and sign == '+' and num2 == 48:
print("5+48 = 53")
if num1 == 5 and sign == '+' and num2 == 49:
print("5+49 = 54")
if num1 == 5 and sign == '+' and num2 == 50:
print("5+50 = 55")
if num1 == 6 and sign == '+' and num2 == 0:
print("6+0 = 6")
if num1 == 6 and sign == '+' and num2 == 1:
print("6+1 = 7")
if num1 == 6 and sign == '+' and num2 == 2:
print("6+2 = 8")
if num1 == 6 and sign == '+' and num2 == 3:
print("6+3 = 9")
if num1 == 6 and sign == '+' and num2 == 4:
print("6+4 = 10")
if num1 == 6 and sign == '+' and num2 == 5:
print("6+5 = 11")
if num1 == 6 and sign == '+' and num2 == 6:
print("6+6 = 12")
if num1 == 6 and sign == '+' and num2 == 7:
print("6+7 = 13")
if num1 == 6 and sign == '+' and num2 == 8:
print("6+8 = 14")
if num1 == 6 and sign == '+' and num2 == 9:
print("6+9 = 15")
if num1 == 6 and sign == '+' and num2 == 10:
print("6+10 = 16")
if num1 == 6 and sign == '+' and num2 == 11:
print("6+11 = 17")
if num1 == 6 and sign == '+' and num2 == 12:
print("6+12 = 18")
if num1 == 6 and sign == '+' and num2 == 13:
print("6+13 = 19")
if num1 == 6 and sign == '+' and num2 == 14:
print("6+14 = 20")
if num1 == 6 and sign == '+' and num2 == 15:
print("6+15 = 21")
if num1 == 6 and sign == '+' and num2 == 16:
print("6+16 = 22")
if num1 == 6 and sign == '+' and num2 == 17:
print("6+17 = 23")
if num1 == 6 and sign == '+' and num2 == 18:
print("6+18 = 24")
if num1 == 6 and sign == '+' and num2 == 19:
print("6+19 = 25")
if num1 == 6 and sign == '+' and num2 == 20:
print("6+20 = 26")
if num1 == 6 and sign == '+' and num2 == 21:
print("6+21 = 27")
if num1 == 6 and sign == '+' and num2 == 22:
print("6+22 = 28")
if num1 == 6 and sign == '+' and num2 == 23:
print("6+23 = 29")
if num1 == 6 and sign == '+' and num2 == 24:
print("6+24 = 30")
if num1 == 6 and sign == '+' and num2 == 25:
print("6+25 = 31")
if num1 == 6 and sign == '+' and num2 == 26:
print("6+26 = 32")
if num1 == 6 and sign == '+' and num2 == 27:
print("6+27 = 33")
if num1 == 6 and sign == '+' and num2 == 28:
print("6+28 = 34")
if num1 == 6 and sign == '+' and num2 == 29:
print("6+29 = 35")
if num1 == 6 and sign == '+' and num2 == 30:
print("6+30 = 36")
if num1 == 6 and sign == '+' and num2 == 31:
print("6+31 = 37")
if num1 == 6 and sign == '+' and num2 == 32:
print("6+32 = 38")
if num1 == 6 and sign == '+' and num2 == 33:
print("6+33 = 39")
if num1 == 6 and sign == '+' and num2 == 34:
print("6+34 = 40")
if num1 == 6 and sign == '+' and num2 == 35:
print("6+35 = 41")
if num1 == 6 and sign == '+' and num2 == 36:
print("6+36 = 42")
if num1 == 6 and sign == '+' and num2 == 37:
print("6+37 = 43")
if num1 == 6 and sign == '+' and num2 == 38:
print("6+38 = 44")
if num1 == 6 and sign == '+' and num2 == 39:
print("6+39 = 45")
if num1 == 6 and sign == '+' and num2 == 40:
print("6+40 = 46")
if num1 == 6 and sign == '+' and num2 == 41:
print("6+41 = 47")
if num1 == 6 and sign == '+' and num2 == 42:
print("6+42 = 48")
if num1 == 6 and sign == '+' and num2 == 43:
print("6+43 = 49")
if num1 == 6 and sign == '+' and num2 == 44:
print("6+44 = 50")
if num1 == 6 and sign == '+' and num2 == 45:
print("6+45 = 51")
if num1 == 6 and sign == '+' and num2 == 46:
print("6+46 = 52")
if num1 == 6 and sign == '+' and num2 == 47:
print("6+47 = 53")
if num1 == 6 and sign == '+' and num2 == 48:
print("6+48 = 54")
if num1 == 6 and sign == '+' and num2 == 49:
print("6+49 = 55")
if num1 == 6 and sign == '+' and num2 == 50:
print("6+50 = 56")
if num1 == 7 and sign == '+' and num2 == 0:
print("7+0 = 7")
if num1 == 7 and sign == '+' and num2 == 1:
print("7+1 = 8")
if num1 == 7 and sign == '+' and num2 == 2:
print("7+2 = 9")
if num1 == 7 and sign == '+' and num2 == 3:
print("7+3 = 10")
if num1 == 7 and sign == '+' and num2 == 4:
print("7+4 = 11")
if num1 == 7 and sign == '+' and num2 == 5:
print("7+5 = 12")
if num1 == 7 and sign == '+' and num2 == 6:
print("7+6 = 13")
if num1 == 7 and sign == '+' and num2 == 7:
print("7+7 = 14")
if num1 == 7 and sign == '+' and num2 == 8:
print("7+8 = 15")
if num1 == 7 and sign == '+' and num2 == 9:
print("7+9 = 16")
if num1 == 7 and sign == '+' and num2 == 10:
print("7+10 = 17")
if num1 == 7 and sign == '+' and num2 == 11:
print("7+11 = 18")
if num1 == 7 and sign == '+' and num2 == 12:
print("7+12 = 19")
if num1 == 7 and sign == '+' and num2 == 13:
print("7+13 = 20")
if num1 == 7 and sign == '+' and num2 == 14:
print("7+14 = 21")
if num1 == 7 and sign == '+' and num2 == 15:
print("7+15 = 22")
if num1 == 7 and sign == '+' and num2 == 16:
print("7+16 = 23")
if num1 == 7 and sign == '+' and num2 == 17:
print("7+17 = 24")
if num1 == 7 and sign == '+' and num2 == 18:
print("7+18 = 25")
if num1 == 7 and sign == '+' and num2 == 19:
print("7+19 = 26")
if num1 == 7 and sign == '+' and num2 == 20:
print("7+20 = 27")
if num1 == 7 and sign == '+' and num2 == 21:
print("7+21 = 28")
if num1 == 7 and sign == '+' and num2 == 22:
print("7+22 = 29")
if num1 == 7 and sign == '+' and num2 == 23:
print("7+23 = 30")
if num1 == 7 and sign == '+' and num2 == 24:
print("7+24 = 31")
if num1 == 7 and sign == '+' and num2 == 25:
print("7+25 = 32")
if num1 == 7 and sign == '+' and num2 == 26:
print("7+26 = 33")
if num1 == 7 and sign == '+' and num2 == 27:
print("7+27 = 34")
if num1 == 7 and sign == '+' and num2 == 28:
print("7+28 = 35")
if num1 == 7 and sign == '+' and num2 == 29:
print("7+29 = 36")
if num1 == 7 and sign == '+' and num2 == 30:
print("7+30 = 37")
if num1 == 7 and sign == '+' and num2 == 31:
print("7+31 = 38")
if num1 == 7 and sign == '+' and num2 == 32:
print("7+32 = 39")
if num1 == 7 and sign == '+' and num2 == 33:
print("7+33 = 40")
if num1 == 7 and sign == '+' and num2 == 34:
print("7+34 = 41")
if num1 == 7 and sign == '+' and num2 == 35:
print("7+35 = 42")
if num1 == 7 and sign == '+' and num2 == 36:
print("7+36 = 43")
if num1 == 7 and sign == '+' and num2 == 37:
print("7+37 = 44")
if num1 == 7 and sign == '+' and num2 == 38:
print("7+38 = 45")
if num1 == 7 and sign == '+' and num2 == 39:
print("7+39 = 46")
if num1 == 7 and sign == '+' and num2 == 40:
print("7+40 = 47")
if num1 == 7 and sign == '+' and num2 == 41:
print("7+41 = 48")
if num1 == 7 and sign == '+' and num2 == 42:
print("7+42 = 49")
if num1 == 7 and sign == '+' and num2 == 43:
print("7+43 = 50")
if num1 == 7 and sign == '+' and num2 == 44:
print("7+44 = 51")
if num1 == 7 and sign == '+' and num2 == 45:
print("7+45 = 52")
if num1 == 7 and sign == '+' and num2 == 46:
print("7+46 = 53")
if num1 == 7 and sign == '+' and num2 == 47:
print("7+47 = 54")
if num1 == 7 and sign == '+' and num2 == 48:
print("7+48 = 55")
if num1 == 7 and sign == '+' and num2 == 49:
print("7+49 = 56")
if num1 == 7 and sign == '+' and num2 == 50:
print("7+50 = 57")
if num1 == 8 and sign == '+' and num2 == 0:
print("8+0 = 8")
if num1 == 8 and sign == '+' and num2 == 1:
print("8+1 = 9")
if num1 == 8 and sign == '+' and num2 == 2:
print("8+2 = 10")
if num1 == 8 and sign == '+' and num2 == 3:
print("8+3 = 11")
if num1 == 8 and sign == '+' and num2 == 4:
print("8+4 = 12")
if num1 == 8 and sign == '+' and num2 == 5:
print("8+5 = 13")
if num1 == 8 and sign == '+' and num2 == 6:
print("8+6 = 14")
if num1 == 8 and sign == '+' and num2 == 7:
print("8+7 = 15")
if num1 == 8 and sign == '+' and num2 == 8:
print("8+8 = 16")
if num1 == 8 and sign == '+' and num2 == 9:
print("8+9 = 17")
if num1 == 8 and sign == '+' and num2 == 10:
print("8+10 = 18")
if num1 == 8 and sign == '+' and num2 == 11:
print("8+11 = 19")
if num1 == 8 and sign == '+' and num2 == 12:
print("8+12 = 20")
if num1 == 8 and sign == '+' and num2 == 13:
print("8+13 = 21")
if num1 == 8 and sign == '+' and num2 == 14:
print("8+14 = 22")
if num1 == 8 and sign == '+' and num2 == 15:
print("8+15 = 23")
if num1 == 8 and sign == '+' and num2 == 16:
print("8+16 = 24")
if num1 == 8 and sign == '+' and num2 == 17:
print("8+17 = 25")
if num1 == 8 and sign == '+' and num2 == 18:
print("8+18 = 26")
if num1 == 8 and sign == '+' and num2 == 19:
print("8+19 = 27")
if num1 == 8 and sign == '+' and num2 == 20:
print("8+20 = 28")
if num1 == 8 and sign == '+' and num2 == 21:
print("8+21 = 29")
if num1 == 8 and sign == '+' and num2 == 22:
print("8+22 = 30")
if num1 == 8 and sign == '+' and num2 == 23:
print("8+23 = 31")
if num1 == 8 and sign == '+' and num2 == 24:
print("8+24 = 32")
if num1 == 8 and sign == '+' and num2 == 25:
print("8+25 = 33")
if num1 == 8 and sign == '+' and num2 == 26:
print("8+26 = 34")
if num1 == 8 and sign == '+' and num2 == 27:
print("8+27 = 35")
if num1 == 8 and sign == '+' and num2 == 28:
print("8+28 = 36")
if num1 == 8 and sign == '+' and num2 == 29:
print("8+29 = 37")
if num1 == 8 and sign == '+' and num2 == 30:
print("8+30 = 38")
if num1 == 8 and sign == '+' and num2 == 31:
print("8+31 = 39")
if num1 == 8 and sign == '+' and num2 == 32:
print("8+32 = 40")
if num1 == 8 and sign == '+' and num2 == 33:
print("8+33 = 41")
if num1 == 8 and sign == '+' and num2 == 34:
print("8+34 = 42")
if num1 == 8 and sign == '+' and num2 == 35:
print("8+35 = 43")
if num1 == 8 and sign == '+' and num2 == 36:
print("8+36 = 44")
if num1 == 8 and sign == '+' and num2 == 37:
print("8+37 = 45")
if num1 == 8 and sign == '+' and num2 == 38:
print("8+38 = 46")
if num1 == 8 and sign == '+' and num2 == 39:
print("8+39 = 47")
if num1 == 8 and sign == '+' and num2 == 40:
print("8+40 = 48")
if num1 == 8 and sign == '+' and num2 == 41:
print("8+41 = 49")
if num1 == 8 and sign == '+' and num2 == 42:
print("8+42 = 50")
if num1 == 8 and sign == '+' and num2 == 43:
print("8+43 = 51")
if num1 == 8 and sign == '+' and num2 == 44:
print("8+44 = 52")
if num1 == 8 and sign == '+' and num2 == 45:
print("8+45 = 53")
if num1 == 8 and sign == '+' and num2 == 46:
print("8+46 = 54")
if num1 == 8 and sign == '+' and num2 == 47:
print("8+47 = 55")
if num1 == 8 and sign == '+' and num2 == 48:
print("8+48 = 56")
if num1 == 8 and sign == '+' and num2 == 49:
print("8+49 = 57")
if num1 == 8 and sign == '+' and num2 == 50:
print("8+50 = 58")
if num1 == 9 and sign == '+' and num2 == 0:
print("9+0 = 9")
if num1 == 9 and sign == '+' and num2 == 1:
print("9+1 = 10")
if num1 == 9 and sign == '+' and num2 == 2:
print("9+2 = 11")
if num1 == 9 and sign == '+' and num2 == 3:
print("9+3 = 12")
if num1 == 9 and sign == '+' and num2 == 4:
print("9+4 = 13")
if num1 == 9 and sign == '+' and num2 == 5:
print("9+5 = 14")
if num1 == 9 and sign == '+' and num2 == 6:
print("9+6 = 15")
if num1 == 9 and sign == '+' and num2 == 7:
print("9+7 = 16")
if num1 == 9 and sign == '+' and num2 == 8:
print("9+8 = 17")
if num1 == 9 and sign == '+' and num2 == 9:
print("9+9 = 18")
if num1 == 9 and sign == '+' and num2 == 10:
print("9+10 = 19")
if num1 == 9 and sign == '+' and num2 == 11:
print("9+11 = 20")
if num1 == 9 and sign == '+' and num2 == 12:
print("9+12 = 21")
if num1 == 9 and sign == '+' and num2 == 13:
print("9+13 = 22")
if num1 == 9 and sign == '+' and num2 == 14:
print("9+14 = 23")
if num1 == 9 and sign == '+' and num2 == 15:
print("9+15 = 24")
if num1 == 9 and sign == '+' and num2 == 16:
print("9+16 = 25")
if num1 == 9 and sign == '+' and num2 == 17:
print("9+17 = 26")
if num1 == 9 and sign == '+' and num2 == 18:
print("9+18 = 27")
if num1 == 9 and sign == '+' and num2 == 19:
print("9+19 = 28")
if num1 == 9 and sign == '+' and num2 == 20:
print("9+20 = 29")
if num1 == 9 and sign == '+' and num2 == 21:
print("9+21 = 30")
if num1 == 9 and sign == '+' and num2 == 22:
print("9+22 = 31")
if num1 == 9 and sign == '+' and num2 == 23:
print("9+23 = 32")
if num1 == 9 and sign == '+' and num2 == 24:
print("9+24 = 33")
if num1 == 9 and sign == '+' and num2 == 25:
print("9+25 = 34")
if num1 == 9 and sign == '+' and num2 == 26:
print("9+26 = 35")
if num1 == 9 and sign == '+' and num2 == 27:
print("9+27 = 36")
if num1 == 9 and sign == '+' and num2 == 28:
print("9+28 = 37")
if num1 == 9 and sign == '+' and num2 == 29:
print("9+29 = 38")
if num1 == 9 and sign == '+' and num2 == 30:
print("9+30 = 39")
if num1 == 9 and sign == '+' and num2 == 31:
print("9+31 = 40")
if num1 == 9 and sign == '+' and num2 == 32:
print("9+32 = 41")
if num1 == 9 and sign == '+' and num2 == 33:
print("9+33 = 42")
if num1 == 9 and sign == '+' and num2 == 34:
print("9+34 = 43")
if num1 == 9 and sign == '+' and num2 == 35:
print("9+35 = 44")
if num1 == 9 and sign == '+' and num2 == 36:
print("9+36 = 45")
if num1 == 9 and sign == '+' and num2 == 37:
print("9+37 = 46")
if num1 == 9 and sign == '+' and num2 == 38:
print("9+38 = 47")
if num1 == 9 and sign == '+' and num2 == 39:
print("9+39 = 48")
if num1 == 9 and sign == '+' and num2 == 40:
print("9+40 = 49")
if num1 == 9 and sign == '+' and num2 == 41:
print("9+41 = 50")
if num1 == 9 and sign == '+' and num2 == 42:
print("9+42 = 51")
if num1 == 9 and sign == '+' and num2 == 43:
print("9+43 = 52")
if num1 == 9 and sign == '+' and num2 == 44:
print("9+44 = 53")
if num1 == 9 and sign == '+' and num2 == 45:
print("9+45 = 54")
if num1 == 9 and sign == '+' and num2 == 46:
print("9+46 = 55")
if num1 == 9 and sign == '+' and num2 == 47:
print("9+47 = 56")
if num1 == 9 and sign == '+' and num2 == 48:
print("9+48 = 57")
if num1 == 9 and sign == '+' and num2 == 49:
print("9+49 = 58")
if num1 == 9 and sign == '+' and num2 == 50:
print("9+50 = 59")
if num1 == 10 and sign == '+' and num2 == 0:
print("10+0 = 10")
if num1 == 10 and sign == '+' and num2 == 1:
print("10+1 = 11")
if num1 == 10 and sign == '+' and num2 == 2:
print("10+2 = 12")
if num1 == 10 and sign == '+' and num2 == 3:
print("10+3 = 13")
if num1 == 10 and sign == '+' and num2 == 4:
print("10+4 = 14")
if num1 == 10 and sign == '+' and num2 == 5:
print("10+5 = 15")
if num1 == 10 and sign == '+' and num2 == 6:
print("10+6 = 16")
if num1 == 10 and sign == '+' and num2 == 7:
print("10+7 = 17")
if num1 == 10 and sign == '+' and num2 == 8:
print("10+8 = 18")
if num1 == 10 and sign == '+' and num2 == 9:
print("10+9 = 19")
if num1 == 10 and sign == '+' and num2 == 10:
print("10+10 = 20")
if num1 == 10 and sign == '+' and num2 == 11:
print("10+11 = 21")
if num1 == 10 and sign == '+' and num2 == 12:
print("10+12 = 22")
if num1 == 10 and sign == '+' and num2 == 13:
print("10+13 = 23")
if num1 == 10 and sign == '+' and num2 == 14:
print("10+14 = 24")
if num1 == 10 and sign == '+' and num2 == 15:
print("10+15 = 25")
if num1 == 10 and sign == '+' and num2 == 16:
print("10+16 = 26")
if num1 == 10 and sign == '+' and num2 == 17:
print("10+17 = 27")
if num1 == 10 and sign == '+' and num2 == 18:
print("10+18 = 28")
if num1 == 10 and sign == '+' and num2 == 19:
print("10+19 = 29")
if num1 == 10 and sign == '+' and num2 == 20:
print("10+20 = 30")
if num1 == 10 and sign == '+' and num2 == 21:
print("10+21 = 31")
if num1 == 10 and sign == '+' and num2 == 22:
print("10+22 = 32")
if num1 == 10 and sign == '+' and num2 == 23:
print("10+23 = 33")
if num1 == 10 and sign == '+' and num2 == 24:
print("10+24 = 34")
if num1 == 10 and sign == '+' and num2 == 25:
print("10+25 = 35")
if num1 == 10 and sign == '+' and num2 == 26:
print("10+26 = 36")
if num1 == 10 and sign == '+' and num2 == 27:
print("10+27 = 37")
if num1 == 10 and sign == '+' and num2 == 28:
print("10+28 = 38")
if num1 == 10 and sign == '+' and num2 == 29:
print("10+29 = 39")
if num1 == 10 and sign == '+' and num2 == 30:
print("10+30 = 40")
if num1 == 10 and sign == '+' and num2 == 31:
print("10+31 = 41")
if num1 == 10 and sign == '+' and num2 == 32:
print("10+32 = 42")
if num1 == 10 and sign == '+' and num2 == 33:
print("10+33 = 43")
if num1 == 10 and sign == '+' and num2 == 34:
print("10+34 = 44")
if num1 == 10 and sign == '+' and num2 == 35:
print("10+35 = 45")
if num1 == 10 and sign == '+' and num2 == 36:
print("10+36 = 46")
if num1 == 10 and sign == '+' and num2 == 37:
print("10+37 = 47")
if num1 == 10 and sign == '+' and num2 == 38:
print("10+38 = 48")
if num1 == 10 and sign == '+' and num2 == 39:
print("10+39 = 49")
if num1 == 10 and sign == '+' and num2 == 40:
print("10+40 = 50")
if num1 == 10 and sign == '+' and num2 == 41:
print("10+41 = 51")
if num1 == 10 and sign == '+' and num2 == 42:
print("10+42 = 52")
if num1 == 10 and sign == '+' and num2 == 43:
print("10+43 = 53")
if num1 == 10 and sign == '+' and num2 == 44:
print("10+44 = 54")
if num1 == 10 and sign == '+' and num2 == 45:
print("10+45 = 55")
if num1 == 10 and sign == '+' and num2 == 46:
print("10+46 = 56")
if num1 == 10 and sign == '+' and num2 == 47:
print("10+47 = 57")
if num1 == 10 and sign == '+' and num2 == 48:
print("10+48 = 58")
if num1 == 10 and sign == '+' and num2 == 49:
print("10+49 = 59")
if num1 == 10 and sign == '+' and num2 == 50:
print("10+50 = 60")
if num1 == 11 and sign == '+' and num2 == 0:
print("11+0 = 11")
if num1 == 11 and sign == '+' and num2 == 1:
print("11+1 = 12")
if num1 == 11 and sign == '+' and num2 == 2:
print("11+2 = 13")
if num1 == 11 and sign == '+' and num2 == 3:
print("11+3 = 14")
if num1 == 11 and sign == '+' and num2 == 4:
print("11+4 = 15")
if num1 == 11 and sign == '+' and num2 == 5:
print("11+5 = 16")
if num1 == 11 and sign == '+' and num2 == 6:
print("11+6 = 17")
if num1 == 11 and sign == '+' and num2 == 7:
print("11+7 = 18")
if num1 == 11 and sign == '+' and num2 == 8:
print("11+8 = 19")
if num1 == 11 and sign == '+' and num2 == 9:
print("11+9 = 20")
if num1 == 11 and sign == '+' and num2 == 10:
print("11+10 = 21")
if num1 == 11 and sign == '+' and num2 == 11:
print("11+11 = 22")
if num1 == 11 and sign == '+' and num2 == 12:
print("11+12 = 23")
if num1 == 11 and sign == '+' and num2 == 13:
print("11+13 = 24")
if num1 == 11 and sign == '+' and num2 == 14:
print("11+14 = 25")
if num1 == 11 and sign == '+' and num2 == 15:
print("11+15 = 26")
if num1 == 11 and sign == '+' and num2 == 16:
print("11+16 = 27")
if num1 == 11 and sign == '+' and num2 == 17:
print("11+17 = 28")
if num1 == 11 and sign == '+' and num2 == 18:
print("11+18 = 29")
if num1 == 11 and sign == '+' and num2 == 19:
print("11+19 = 30")
if num1 == 11 and sign == '+' and num2 == 20:
print("11+20 = 31")
if num1 == 11 and sign == '+' and num2 == 21:
print("11+21 = 32")
if num1 == 11 and sign == '+' and num2 == 22:
print("11+22 = 33")
if num1 == 11 and sign == '+' and num2 == 23:
print("11+23 = 34")
if num1 == 11 and sign == '+' and num2 == 24:
print("11+24 = 35")
if num1 == 11 and sign == '+' and num2 == 25:
print("11+25 = 36")
if num1 == 11 and sign == '+' and num2 == 26:
print("11+26 = 37")
if num1 == 11 and sign == '+' and num2 == 27:
print("11+27 = 38")
if num1 == 11 and sign == '+' and num2 == 28:
print("11+28 = 39")
if num1 == 11 and sign == '+' and num2 == 29:
print("11+29 = 40")
if num1 == 11 and sign == '+' and num2 == 30:
print("11+30 = 41")
if num1 == 11 and sign == '+' and num2 == 31:
print("11+31 = 42")
if num1 == 11 and sign == '+' and num2 == 32:
print("11+32 = 43")
if num1 == 11 and sign == '+' and num2 == 33:
print("11+33 = 44")
if num1 == 11 and sign == '+' and num2 == 34:
print("11+34 = 45")
if num1 == 11 and sign == '+' and num2 == 35:
print("11+35 = 46")
if num1 == 11 and sign == '+' and num2 == 36:
print("11+36 = 47")
if num1 == 11 and sign == '+' and num2 == 37:
print("11+37 = 48")
if num1 == 11 and sign == '+' and num2 == 38:
print("11+38 = 49")
if num1 == 11 and sign == '+' and num2 == 39:
print("11+39 = 50")
if num1 == 11 and sign == '+' and num2 == 40:
print("11+40 = 51")
if num1 == 11 and sign == '+' and num2 == 41:
print("11+41 = 52")
if num1 == 11 and sign == '+' and num2 == 42:
print("11+42 = 53")
if num1 == 11 and sign == '+' and num2 == 43:
print("11+43 = 54")
if num1 == 11 and sign == '+' and num2 == 44:
print("11+44 = 55")
if num1 == 11 and sign == '+' and num2 == 45:
print("11+45 = 56")
if num1 == 11 and sign == '+' and num2 == 46:
print("11+46 = 57")
if num1 == 11 and sign == '+' and num2 == 47:
print("11+47 = 58")
if num1 == 11 and sign == '+' and num2 == 48:
print("11+48 = 59")
if num1 == 11 and sign == '+' and num2 == 49:
print("11+49 = 60")
if num1 == 11 and sign == '+' and num2 == 50:
print("11+50 = 61")
if num1 == 12 and sign == '+' and num2 == 0:
print("12+0 = 12")
if num1 == 12 and sign == '+' and num2 == 1:
print("12+1 = 13")
if num1 == 12 and sign == '+' and num2 == 2:
print("12+2 = 14")
if num1 == 12 and sign == '+' and num2 == 3:
print("12+3 = 15")
if num1 == 12 and sign == '+' and num2 == 4:
print("12+4 = 16")
if num1 == 12 and sign == '+' and num2 == 5:
print("12+5 = 17")
if num1 == 12 and sign == '+' and num2 == 6:
print("12+6 = 18")
if num1 == 12 and sign == '+' and num2 == 7:
print("12+7 = 19")
if num1 == 12 and sign == '+' and num2 == 8:
print("12+8 = 20")
if num1 == 12 and sign == '+' and num2 == 9:
print("12+9 = 21")
if num1 == 12 and sign == '+' and num2 == 10:
print("12+10 = 22")
if num1 == 12 and sign == '+' and num2 == 11:
print("12+11 = 23")
if num1 == 12 and sign == '+' and num2 == 12:
print("12+12 = 24")
if num1 == 12 and sign == '+' and num2 == 13:
print("12+13 = 25")
if num1 == 12 and sign == '+' and num2 == 14:
print("12+14 = 26")
if num1 == 12 and sign == '+' and num2 == 15:
print("12+15 = 27")
if num1 == 12 and sign == '+' and num2 == 16:
print("12+16 = 28")
if num1 == 12 and sign == '+' and num2 == 17:
print("12+17 = 29")
if num1 == 12 and sign == '+' and num2 == 18:
print("12+18 = 30")
if num1 == 12 and sign == '+' and num2 == 19:
print("12+19 = 31")
if num1 == 12 and sign == '+' and num2 == 20:
print("12+20 = 32")
if num1 == 12 and sign == '+' and num2 == 21:
print("12+21 = 33")
if num1 == 12 and sign == '+' and num2 == 22:
print("12+22 = 34")
if num1 == 12 and sign == '+' and num2 == 23:
print("12+23 = 35")
if num1 == 12 and sign == '+' and num2 == 24:
print("12+24 = 36")
if num1 == 12 and sign == '+' and num2 == 25:
print("12+25 = 37")
if num1 == 12 and sign == '+' and num2 == 26:
print("12+26 = 38")
if num1 == 12 and sign == '+' and num2 == 27:
print("12+27 = 39")
if num1 == 12 and sign == '+' and num2 == 28:
print("12+28 = 40")
if num1 == 12 and sign == '+' and num2 == 29:
print("12+29 = 41")
if num1 == 12 and sign == '+' and num2 == 30:
print("12+30 = 42")
if num1 == 12 and sign == '+' and num2 == 31:
print("12+31 = 43")
if num1 == 12 and sign == '+' and num2 == 32:
print("12+32 = 44")
if num1 == 12 and sign == '+' and num2 == 33:
print("12+33 = 45")
if num1 == 12 and sign == '+' and num2 == 34:
print("12+34 = 46")
if num1 == 12 and sign == '+' and num2 == 35:
print("12+35 = 47")
if num1 == 12 and sign == '+' and num2 == 36:
print("12+36 = 48")
if num1 == 12 and sign == '+' and num2 == 37:
print("12+37 = 49")
if num1 == 12 and sign == '+' and num2 == 38:
print("12+38 = 50")
if num1 == 12 and sign == '+' and num2 == 39:
print("12+39 = 51")
if num1 == 12 and sign == '+' and num2 == 40:
print("12+40 = 52")
if num1 == 12 and sign == '+' and num2 == 41:
print("12+41 = 53")
if num1 == 12 and sign == '+' and num2 == 42:
print("12+42 = 54")
if num1 == 12 and sign == '+' and num2 == 43:
print("12+43 = 55")
if num1 == 12 and sign == '+' and num2 == 44:
print("12+44 = 56")
if num1 == 12 and sign == '+' and num2 == 45:
print("12+45 = 57")
if num1 == 12 and sign == '+' and num2 == 46:
print("12+46 = 58")
if num1 == 12 and sign == '+' and num2 == 47:
print("12+47 = 59")
if num1 == 12 and sign == '+' and num2 == 48:
print("12+48 = 60")
if num1 == 12 and sign == '+' and num2 == 49:
print("12+49 = 61")
if num1 == 12 and sign == '+' and num2 == 50:
print("12+50 = 62")
if num1 == 13 and sign == '+' and num2 == 0:
print("13+0 = 13")
if num1 == 13 and sign == '+' and num2 == 1:
print("13+1 = 14")
if num1 == 13 and sign == '+' and num2 == 2:
print("13+2 = 15")
if num1 == 13 and sign == '+' and num2 == 3:
print("13+3 = 16")
if num1 == 13 and sign == '+' and num2 == 4:
print("13+4 = 17")
if num1 == 13 and sign == '+' and num2 == 5:
print("13+5 = 18")
if num1 == 13 and sign == '+' and num2 == 6:
print("13+6 = 19")
if num1 == 13 and sign == '+' and num2 == 7:
print("13+7 = 20")
if num1 == 13 and sign == '+' and num2 == 8:
print("13+8 = 21")
if num1 == 13 and sign == '+' and num2 == 9:
print("13+9 = 22")
if num1 == 13 and sign == '+' and num2 == 10:
print("13+10 = 23")
if num1 == 13 and sign == '+' and num2 == 11:
print("13+11 = 24")
if num1 == 13 and sign == '+' and num2 == 12:
print("13+12 = 25")
if num1 == 13 and sign == '+' and num2 == 13:
print("13+13 = 26")
if num1 == 13 and sign == '+' and num2 == 14:
print("13+14 = 27")
if num1 == 13 and sign == '+' and num2 == 15:
print("13+15 = 28")
if num1 == 13 and sign == '+' and num2 == 16:
print("13+16 = 29")
if num1 == 13 and sign == '+' and num2 == 17:
print("13+17 = 30")
if num1 == 13 and sign == '+' and num2 == 18:
print("13+18 = 31")
if num1 == 13 and sign == '+' and num2 == 19:
print("13+19 = 32")
if num1 == 13 and sign == '+' and num2 == 20:
print("13+20 = 33")
if num1 == 13 and sign == '+' and num2 == 21:
print("13+21 = 34")
if num1 == 13 and sign == '+' and num2 == 22:
print("13+22 = 35")
if num1 == 13 and sign == '+' and num2 == 23:
print("13+23 = 36")
if num1 == 13 and sign == '+' and num2 == 24:
print("13+24 = 37")
if num1 == 13 and sign == '+' and num2 == 25:
print("13+25 = 38")
if num1 == 13 and sign == '+' and num2 == 26:
print("13+26 = 39")
if num1 == 13 and sign == '+' and num2 == 27:
print("13+27 = 40")
if num1 == 13 and sign == '+' and num2 == 28:
print("13+28 = 41")
if num1 == 13 and sign == '+' and num2 == 29:
print("13+29 = 42")
if num1 == 13 and sign == '+' and num2 == 30:
print("13+30 = 43")
if num1 == 13 and sign == '+' and num2 == 31:
print("13+31 = 44")
if num1 == 13 and sign == '+' and num2 == 32:
print("13+32 = 45")
if num1 == 13 and sign == '+' and num2 == 33:
print("13+33 = 46")
if num1 == 13 and sign == '+' and num2 == 34:
print("13+34 = 47")
if num1 == 13 and sign == '+' and num2 == 35:
print("13+35 = 48")
if num1 == 13 and sign == '+' and num2 == 36:
print("13+36 = 49")
if num1 == 13 and sign == '+' and num2 == 37:
print("13+37 = 50")
if num1 == 13 and sign == '+' and num2 == 38:
print("13+38 = 51")
if num1 == 13 and sign == '+' and num2 == 39:
print("13+39 = 52")
if num1 == 13 and sign == '+' and num2 == 40:
print("13+40 = 53")
if num1 == 13 and sign == '+' and num2 == 41:
print("13+41 = 54")
if num1 == 13 and sign == '+' and num2 == 42:
print("13+42 = 55")
if num1 == 13 and sign == '+' and num2 == 43:
print("13+43 = 56")
if num1 == 13 and sign == '+' and num2 == 44:
print("13+44 = 57")
if num1 == 13 and sign == '+' and num2 == 45:
print("13+45 = 58")
if num1 == 13 and sign == '+' and num2 == 46:
print("13+46 = 59")
if num1 == 13 and sign == '+' and num2 == 47:
print("13+47 = 60")
if num1 == 13 and sign == '+' and num2 == 48:
print("13+48 = 61")
if num1 == 13 and sign == '+' and num2 == 49:
print("13+49 = 62")
if num1 == 13 and sign == '+' and num2 == 50:
print("13+50 = 63")
if num1 == 14 and sign == '+' and num2 == 0:
print("14+0 = 14")
if num1 == 14 and sign == '+' and num2 == 1:
print("14+1 = 15")
if num1 == 14 and sign == '+' and num2 == 2:
print("14+2 = 16")
if num1 == 14 and sign == '+' and num2 == 3:
print("14+3 = 17")
if num1 == 14 and sign == '+' and num2 == 4:
print("14+4 = 18")
if num1 == 14 and sign == '+' and num2 == 5:
print("14+5 = 19")
if num1 == 14 and sign == '+' and num2 == 6:
print("14+6 = 20")
if num1 == 14 and sign == '+' and num2 == 7:
print("14+7 = 21")
if num1 == 14 and sign == '+' and num2 == 8:
print("14+8 = 22")
if num1 == 14 and sign == '+' and num2 == 9:
print("14+9 = 23")
if num1 == 14 and sign == '+' and num2 == 10:
print("14+10 = 24")
if num1 == 14 and sign == '+' and num2 == 11:
print("14+11 = 25")
if num1 == 14 and sign == '+' and num2 == 12:
print("14+12 = 26")
if num1 == 14 and sign == '+' and num2 == 13:
print("14+13 = 27")
if num1 == 14 and sign == '+' and num2 == 14:
print("14+14 = 28")
if num1 == 14 and sign == '+' and num2 == 15:
print("14+15 = 29")
if num1 == 14 and sign == '+' and num2 == 16:
print("14+16 = 30")
if num1 == 14 and sign == '+' and num2 == 17:
print("14+17 = 31")
if num1 == 14 and sign == '+' and num2 == 18:
print("14+18 = 32")
if num1 == 14 and sign == '+' and num2 == 19:
print("14+19 = 33")
if num1 == 14 and sign == '+' and num2 == 20:
print("14+20 = 34")
if num1 == 14 and sign == '+' and num2 == 21:
print("14+21 = 35")
if num1 == 14 and sign == '+' and num2 == 22:
print("14+22 = 36")
if num1 == 14 and sign == '+' and num2 == 23:
print("14+23 = 37")
if num1 == 14 and sign == '+' and num2 == 24:
print("14+24 = 38")
if num1 == 14 and sign == '+' and num2 == 25:
print("14+25 = 39")
if num1 == 14 and sign == '+' and num2 == 26:
print("14+26 = 40")
if num1 == 14 and sign == '+' and num2 == 27:
print("14+27 = 41")
if num1 == 14 and sign == '+' and num2 == 28:
print("14+28 = 42")
if num1 == 14 and sign == '+' and num2 == 29:
print("14+29 = 43")
if num1 == 14 and sign == '+' and num2 == 30:
print("14+30 = 44")
if num1 == 14 and sign == '+' and num2 == 31:
print("14+31 = 45")
if num1 == 14 and sign == '+' and num2 == 32:
print("14+32 = 46")
if num1 == 14 and sign == '+' and num2 == 33:
print("14+33 = 47")
if num1 == 14 and sign == '+' and num2 == 34:
print("14+34 = 48")
if num1 == 14 and sign == '+' and num2 == 35:
print("14+35 = 49")
if num1 == 14 and sign == '+' and num2 == 36:
print("14+36 = 50")
if num1 == 14 and sign == '+' and num2 == 37:
print("14+37 = 51")
if num1 == 14 and sign == '+' and num2 == 38:
print("14+38 = 52")
if num1 == 14 and sign == '+' and num2 == 39:
print("14+39 = 53")
if num1 == 14 and sign == '+' and num2 == 40:
print("14+40 = 54")
if num1 == 14 and sign == '+' and num2 == 41:
print("14+41 = 55")
if num1 == 14 and sign == '+' and num2 == 42:
print("14+42 = 56")
if num1 == 14 and sign == '+' and num2 == 43:
print("14+43 = 57")
if num1 == 14 and sign == '+' and num2 == 44:
print("14+44 = 58")
if num1 == 14 and sign == '+' and num2 == 45:
print("14+45 = 59")
if num1 == 14 and sign == '+' and num2 == 46:
print("14+46 = 60")
if num1 == 14 and sign == '+' and num2 == 47:
print("14+47 = 61")
if num1 == 14 and sign == '+' and num2 == 48:
print("14+48 = 62")
if num1 == 14 and sign == '+' and num2 == 49:
print("14+49 = 63")
if num1 == 14 and sign == '+' and num2 == 50:
print("14+50 = 64")
if num1 == 15 and sign == '+' and num2 == 0:
print("15+0 = 15")
if num1 == 15 and sign == '+' and num2 == 1:
print("15+1 = 16")
if num1 == 15 and sign == '+' and num2 == 2:
print("15+2 = 17")
if num1 == 15 and sign == '+' and num2 == 3:
print("15+3 = 18")
if num1 == 15 and sign == '+' and num2 == 4:
print("15+4 = 19")
if num1 == 15 and sign == '+' and num2 == 5:
print("15+5 = 20")
if num1 == 15 and sign == '+' and num2 == 6:
print("15+6 = 21")
if num1 == 15 and sign == '+' and num2 == 7:
print("15+7 = 22")
if num1 == 15 and sign == '+' and num2 == 8:
print("15+8 = 23")
if num1 == 15 and sign == '+' and num2 == 9:
print("15+9 = 24")
if num1 == 15 and sign == '+' and num2 == 10:
print("15+10 = 25")
if num1 == 15 and sign == '+' and num2 == 11:
print("15+11 = 26")
if num1 == 15 and sign == '+' and num2 == 12:
print("15+12 = 27")
if num1 == 15 and sign == '+' and num2 == 13:
print("15+13 = 28")
if num1 == 15 and sign == '+' and num2 == 14:
print("15+14 = 29")
if num1 == 15 and sign == '+' and num2 == 15:
print("15+15 = 30")
if num1 == 15 and sign == '+' and num2 == 16:
print("15+16 = 31")
if num1 == 15 and sign == '+' and num2 == 17:
print("15+17 = 32")
if num1 == 15 and sign == '+' and num2 == 18:
print("15+18 = 33")
if num1 == 15 and sign == '+' and num2 == 19:
print("15+19 = 34")
if num1 == 15 and sign == '+' and num2 == 20:
print("15+20 = 35")
if num1 == 15 and sign == '+' and num2 == 21:
print("15+21 = 36")
if num1 == 15 and sign == '+' and num2 == 22:
print("15+22 = 37")
if num1 == 15 and sign == '+' and num2 == 23:
print("15+23 = 38")
if num1 == 15 and sign == '+' and num2 == 24:
print("15+24 = 39")
if num1 == 15 and sign == '+' and num2 == 25:
print("15+25 = 40")
if num1 == 15 and sign == '+' and num2 == 26:
print("15+26 = 41")
if num1 == 15 and sign == '+' and num2 == 27:
print("15+27 = 42")
if num1 == 15 and sign == '+' and num2 == 28:
print("15+28 = 43")
if num1 == 15 and sign == '+' and num2 == 29:
print("15+29 = 44")
if num1 == 15 and sign == '+' and num2 == 30:
print("15+30 = 45")
if num1 == 15 and sign == '+' and num2 == 31:
print("15+31 = 46")
if num1 == 15 and sign == '+' and num2 == 32:
print("15+32 = 47")
if num1 == 15 and sign == '+' and num2 == 33:
print("15+33 = 48")
if num1 == 15 and sign == '+' and num2 == 34:
print("15+34 = 49")
if num1 == 15 and sign == '+' and num2 == 35:
print("15+35 = 50")
if num1 == 15 and sign == '+' and num2 == 36:
print("15+36 = 51")
if num1 == 15 and sign == '+' and num2 == 37:
print("15+37 = 52")
if num1 == 15 and sign == '+' and num2 == 38:
print("15+38 = 53")
if num1 == 15 and sign == '+' and num2 == 39:
print("15+39 = 54")
if num1 == 15 and sign == '+' and num2 == 40:
print("15+40 = 55")
if num1 == 15 and sign == '+' and num2 == 41:
print("15+41 = 56")
if num1 == 15 and sign == '+' and num2 == 42:
print("15+42 = 57")
if num1 == 15 and sign == '+' and num2 == 43:
print("15+43 = 58")
if num1 == 15 and sign == '+' and num2 == 44:
print("15+44 = 59")
if num1 == 15 and sign == '+' and num2 == 45:
print("15+45 = 60")
if num1 == 15 and sign == '+' and num2 == 46:
print("15+46 = 61")
if num1 == 15 and sign == '+' and num2 == 47:
print("15+47 = 62")
if num1 == 15 and sign == '+' and num2 == 48:
print("15+48 = 63")
if num1 == 15 and sign == '+' and num2 == 49:
print("15+49 = 64")
if num1 == 15 and sign == '+' and num2 == 50:
print("15+50 = 65")
if num1 == 16 and sign == '+' and num2 == 0:
print("16+0 = 16")
if num1 == 16 and sign == '+' and num2 == 1:
print("16+1 = 17")
if num1 == 16 and sign == '+' and num2 == 2:
print("16+2 = 18")
if num1 == 16 and sign == '+' and num2 == 3:
print("16+3 = 19")
if num1 == 16 and sign == '+' and num2 == 4:
print("16+4 = 20")
if num1 == 16 and sign == '+' and num2 == 5:
print("16+5 = 21")
if num1 == 16 and sign == '+' and num2 == 6:
print("16+6 = 22")
if num1 == 16 and sign == '+' and num2 == 7:
print("16+7 = 23")
if num1 == 16 and sign == '+' and num2 == 8:
print("16+8 = 24")
if num1 == 16 and sign == '+' and num2 == 9:
print("16+9 = 25")
if num1 == 16 and sign == '+' and num2 == 10:
print("16+10 = 26")
if num1 == 16 and sign == '+' and num2 == 11:
print("16+11 = 27")
if num1 == 16 and sign == '+' and num2 == 12:
print("16+12 = 28")
if num1 == 16 and sign == '+' and num2 == 13:
print("16+13 = 29")
if num1 == 16 and sign == '+' and num2 == 14:
print("16+14 = 30")
if num1 == 16 and sign == '+' and num2 == 15:
print("16+15 = 31")
if num1 == 16 and sign == '+' and num2 == 16:
print("16+16 = 32")
if num1 == 16 and sign == '+' and num2 == 17:
print("16+17 = 33")
if num1 == 16 and sign == '+' and num2 == 18:
print("16+18 = 34")
if num1 == 16 and sign == '+' and num2 == 19:
print("16+19 = 35")
if num1 == 16 and sign == '+' and num2 == 20:
print("16+20 = 36")
if num1 == 16 and sign == '+' and num2 == 21:
print("16+21 = 37")
if num1 == 16 and sign == '+' and num2 == 22:
print("16+22 = 38")
if num1 == 16 and sign == '+' and num2 == 23:
print("16+23 = 39")
if num1 == 16 and sign == '+' and num2 == 24:
print("16+24 = 40")
if num1 == 16 and sign == '+' and num2 == 25:
print("16+25 = 41")
if num1 == 16 and sign == '+' and num2 == 26:
print("16+26 = 42")
if num1 == 16 and sign == '+' and num2 == 27:
print("16+27 = 43")
if num1 == 16 and sign == '+' and num2 == 28:
print("16+28 = 44")
if num1 == 16 and sign == '+' and num2 == 29:
print("16+29 = 45")
if num1 == 16 and sign == '+' and num2 == 30:
print("16+30 = 46")
if num1 == 16 and sign == '+' and num2 == 31:
print("16+31 = 47")
if num1 == 16 and sign == '+' and num2 == 32:
print("16+32 = 48")
if num1 == 16 and sign == '+' and num2 == 33:
print("16+33 = 49")
if num1 == 16 and sign == '+' and num2 == 34:
print("16+34 = 50")
if num1 == 16 and sign == '+' and num2 == 35:
print("16+35 = 51")
if num1 == 16 and sign == '+' and num2 == 36:
print("16+36 = 52")
if num1 == 16 and sign == '+' and num2 == 37:
print("16+37 = 53")
if num1 == 16 and sign == '+' and num2 == 38:
print("16+38 = 54")
if num1 == 16 and sign == '+' and num2 == 39:
print("16+39 = 55")
if num1 == 16 and sign == '+' and num2 == 40:
print("16+40 = 56")
if num1 == 16 and sign == '+' and num2 == 41:
print("16+41 = 57")
if num1 == 16 and sign == '+' and num2 == 42:
print("16+42 = 58")
if num1 == 16 and sign == '+' and num2 == 43:
print("16+43 = 59")
if num1 == 16 and sign == '+' and num2 == 44:
print("16+44 = 60")
if num1 == 16 and sign == '+' and num2 == 45:
print("16+45 = 61")
if num1 == 16 and sign == '+' and num2 == 46:
print("16+46 = 62")
if num1 == 16 and sign == '+' and num2 == 47:
print("16+47 = 63")
if num1 == 16 and sign == '+' and num2 == 48:
print("16+48 = 64")
if num1 == 16 and sign == '+' and num2 == 49:
print("16+49 = 65")
if num1 == 16 and sign == '+' and num2 == 50:
print("16+50 = 66")
if num1 == 17 and sign == '+' and num2 == 0:
print("17+0 = 17")
if num1 == 17 and sign == '+' and num2 == 1:
print("17+1 = 18")
if num1 == 17 and sign == '+' and num2 == 2:
print("17+2 = 19")
if num1 == 17 and sign == '+' and num2 == 3:
print("17+3 = 20")
if num1 == 17 and sign == '+' and num2 == 4:
print("17+4 = 21")
if num1 == 17 and sign == '+' and num2 == 5:
print("17+5 = 22")
if num1 == 17 and sign == '+' and num2 == 6:
print("17+6 = 23")
if num1 == 17 and sign == '+' and num2 == 7:
print("17+7 = 24")
if num1 == 17 and sign == '+' and num2 == 8:
print("17+8 = 25")
if num1 == 17 and sign == '+' and num2 == 9:
print("17+9 = 26")
if num1 == 17 and sign == '+' and num2 == 10:
print("17+10 = 27")
if num1 == 17 and sign == '+' and num2 == 11:
print("17+11 = 28")
if num1 == 17 and sign == '+' and num2 == 12:
print("17+12 = 29")
if num1 == 17 and sign == '+' and num2 == 13:
print("17+13 = 30")
if num1 == 17 and sign == '+' and num2 == 14:
print("17+14 = 31")
if num1 == 17 and sign == '+' and num2 == 15:
print("17+15 = 32")
if num1 == 17 and sign == '+' and num2 == 16:
print("17+16 = 33")
if num1 == 17 and sign == '+' and num2 == 17:
print("17+17 = 34")
if num1 == 17 and sign == '+' and num2 == 18:
print("17+18 = 35")
if num1 == 17 and sign == '+' and num2 == 19:
print("17+19 = 36")
if num1 == 17 and sign == '+' and num2 == 20:
print("17+20 = 37")
if num1 == 17 and sign == '+' and num2 == 21:
print("17+21 = 38")
if num1 == 17 and sign == '+' and num2 == 22:
print("17+22 = 39")
if num1 == 17 and sign == '+' and num2 == 23:
print("17+23 = 40")
if num1 == 17 and sign == '+' and num2 == 24:
print("17+24 = 41")
if num1 == 17 and sign == '+' and num2 == 25:
print("17+25 = 42")
if num1 == 17 and sign == '+' and num2 == 26:
print("17+26 = 43")
if num1 == 17 and sign == '+' and num2 == 27:
print("17+27 = 44")
if num1 == 17 and sign == '+' and num2 == 28:
print("17+28 = 45")
if num1 == 17 and sign == '+' and num2 == 29:
print("17+29 = 46")
if num1 == 17 and sign == '+' and num2 == 30:
print("17+30 = 47")
if num1 == 17 and sign == '+' and num2 == 31:
print("17+31 = 48")
if num1 == 17 and sign == '+' and num2 == 32:
print("17+32 = 49")
if num1 == 17 and sign == '+' and num2 == 33:
print("17+33 = 50")
if num1 == 17 and sign == '+' and num2 == 34:
print("17+34 = 51")
if num1 == 17 and sign == '+' and num2 == 35:
print("17+35 = 52")
if num1 == 17 and sign == '+' and num2 == 36:
print("17+36 = 53")
if num1 == 17 and sign == '+' and num2 == 37:
print("17+37 = 54")
if num1 == 17 and sign == '+' and num2 == 38:
print("17+38 = 55")
if num1 == 17 and sign == '+' and num2 == 39:
print("17+39 = 56")
if num1 == 17 and sign == '+' and num2 == 40:
print("17+40 = 57")
if num1 == 17 and sign == '+' and num2 == 41:
print("17+41 = 58")
if num1 == 17 and sign == '+' and num2 == 42:
print("17+42 = 59")
if num1 == 17 and sign == '+' and num2 == 43:
print("17+43 = 60")
if num1 == 17 and sign == '+' and num2 == 44:
print("17+44 = 61")
if num1 == 17 and sign == '+' and num2 == 45:
print("17+45 = 62")
if num1 == 17 and sign == '+' and num2 == 46:
print("17+46 = 63")
if num1 == 17 and sign == '+' and num2 == 47:
print("17+47 = 64")
if num1 == 17 and sign == '+' and num2 == 48:
print("17+48 = 65")
if num1 == 17 and sign == '+' and num2 == 49:
print("17+49 = 66")
if num1 == 17 and sign == '+' and num2 == 50:
print("17+50 = 67")
if num1 == 18 and sign == '+' and num2 == 0:
print("18+0 = 18")
if num1 == 18 and sign == '+' and num2 == 1:
print("18+1 = 19")
if num1 == 18 and sign == '+' and num2 == 2:
print("18+2 = 20")
if num1 == 18 and sign == '+' and num2 == 3:
print("18+3 = 21")
if num1 == 18 and sign == '+' and num2 == 4:
print("18+4 = 22")
if num1 == 18 and sign == '+' and num2 == 5:
print("18+5 = 23")
if num1 == 18 and sign == '+' and num2 == 6:
print("18+6 = 24")
if num1 == 18 and sign == '+' and num2 == 7:
print("18+7 = 25")
if num1 == 18 and sign == '+' and num2 == 8:
print("18+8 = 26")
if num1 == 18 and sign == '+' and num2 == 9:
print("18+9 = 27")
if num1 == 18 and sign == '+' and num2 == 10:
print("18+10 = 28")
if num1 == 18 and sign == '+' and num2 == 11:
print("18+11 = 29")
if num1 == 18 and sign == '+' and num2 == 12:
print("18+12 = 30")
if num1 == 18 and sign == '+' and num2 == 13:
print("18+13 = 31")
if num1 == 18 and sign == '+' and num2 == 14:
print("18+14 = 32")
if num1 == 18 and sign == '+' and num2 == 15:
print("18+15 = 33")
if num1 == 18 and sign == '+' and num2 == 16:
print("18+16 = 34")
if num1 == 18 and sign == '+' and num2 == 17:
print("18+17 = 35")
if num1 == 18 and sign == '+' and num2 == 18:
print("18+18 = 36")
if num1 == 18 and sign == '+' and num2 == 19:
print("18+19 = 37")
if num1 == 18 and sign == '+' and num2 == 20:
print("18+20 = 38")
if num1 == 18 and sign == '+' and num2 == 21:
print("18+21 = 39")
if num1 == 18 and sign == '+' and num2 == 22:
print("18+22 = 40")
if num1 == 18 and sign == '+' and num2 == 23:
print("18+23 = 41")
if num1 == 18 and sign == '+' and num2 == 24:
print("18+24 = 42")
if num1 == 18 and sign == '+' and num2 == 25:
print("18+25 = 43")
if num1 == 18 and sign == '+' and num2 == 26:
print("18+26 = 44")
if num1 == 18 and sign == '+' and num2 == 27:
print("18+27 = 45")
if num1 == 18 and sign == '+' and num2 == 28:
print("18+28 = 46")
if num1 == 18 and sign == '+' and num2 == 29:
print("18+29 = 47")
if num1 == 18 and sign == '+' and num2 == 30:
print("18+30 = 48")
if num1 == 18 and sign == '+' and num2 == 31:
print("18+31 = 49")
if num1 == 18 and sign == '+' and num2 == 32:
print("18+32 = 50")
if num1 == 18 and sign == '+' and num2 == 33:
print("18+33 = 51")
if num1 == 18 and sign == '+' and num2 == 34:
print("18+34 = 52")
if num1 == 18 and sign == '+' and num2 == 35:
print("18+35 = 53")
if num1 == 18 and sign == '+' and num2 == 36:
print("18+36 = 54")
if num1 == 18 and sign == '+' and num2 == 37:
print("18+37 = 55")
if num1 == 18 and sign == '+' and num2 == 38:
print("18+38 = 56")
if num1 == 18 and sign == '+' and num2 == 39:
print("18+39 = 57")
if num1 == 18 and sign == '+' and num2 == 40:
print("18+40 = 58")
if num1 == 18 and sign == '+' and num2 == 41:
print("18+41 = 59")
if num1 == 18 and sign == '+' and num2 == 42:
print("18+42 = 60")
if num1 == 18 and sign == '+' and num2 == 43:
print("18+43 = 61")
if num1 == 18 and sign == '+' and num2 == 44:
print("18+44 = 62")
if num1 == 18 and sign == '+' and num2 == 45:
print("18+45 = 63")
if num1 == 18 and sign == '+' and num2 == 46:
print("18+46 = 64")
if num1 == 18 and sign == '+' and num2 == 47:
print("18+47 = 65")
if num1 == 18 and sign == '+' and num2 == 48:
print("18+48 = 66")
if num1 == 18 and sign == '+' and num2 == 49:
print("18+49 = 67")
if num1 == 18 and sign == '+' and num2 == 50:
print("18+50 = 68")
if num1 == 19 and sign == '+' and num2 == 0:
print("19+0 = 19")
if num1 == 19 and sign == '+' and num2 == 1:
print("19+1 = 20")
if num1 == 19 and sign == '+' and num2 == 2:
print("19+2 = 21")
if num1 == 19 and sign == '+' and num2 == 3:
print("19+3 = 22")
if num1 == 19 and sign == '+' and num2 == 4:
print("19+4 = 23")
if num1 == 19 and sign == '+' and num2 == 5:
print("19+5 = 24")
if num1 == 19 and sign == '+' and num2 == 6:
print("19+6 = 25")
if num1 == 19 and sign == '+' and num2 == 7:
print("19+7 = 26")
if num1 == 19 and sign == '+' and num2 == 8:
print("19+8 = 27")
if num1 == 19 and sign == '+' and num2 == 9:
print("19+9 = 28")
if num1 == 19 and sign == '+' and num2 == 10:
print("19+10 = 29")
if num1 == 19 and sign == '+' and num2 == 11:
print("19+11 = 30")
if num1 == 19 and sign == '+' and num2 == 12:
print("19+12 = 31")
if num1 == 19 and sign == '+' and num2 == 13:
print("19+13 = 32")
if num1 == 19 and sign == '+' and num2 == 14:
print("19+14 = 33")
if num1 == 19 and sign == '+' and num2 == 15:
print("19+15 = 34")
if num1 == 19 and sign == '+' and num2 == 16:
print("19+16 = 35")
if num1 == 19 and sign == '+' and num2 == 17:
print("19+17 = 36")
if num1 == 19 and sign == '+' and num2 == 18:
print("19+18 = 37")
if num1 == 19 and sign == '+' and num2 == 19:
print("19+19 = 38")
if num1 == 19 and sign == '+' and num2 == 20:
print("19+20 = 39")
if num1 == 19 and sign == '+' and num2 == 21:
print("19+21 = 40")
if num1 == 19 and sign == '+' and num2 == 22:
print("19+22 = 41")
if num1 == 19 and sign == '+' and num2 == 23:
print("19+23 = 42")
if num1 == 19 and sign == '+' and num2 == 24:
print("19+24 = 43")
if num1 == 19 and sign == '+' and num2 == 25:
print("19+25 = 44")
if num1 == 19 and sign == '+' and num2 == 26:
print("19+26 = 45")
if num1 == 19 and sign == '+' and num2 == 27:
print("19+27 = 46")
if num1 == 19 and sign == '+' and num2 == 28:
print("19+28 = 47")
if num1 == 19 and sign == '+' and num2 == 29:
print("19+29 = 48")
if num1 == 19 and sign == '+' and num2 == 30:
print("19+30 = 49")
if num1 == 19 and sign == '+' and num2 == 31:
print("19+31 = 50")
if num1 == 19 and sign == '+' and num2 == 32:
print("19+32 = 51")
if num1 == 19 and sign == '+' and num2 == 33:
print("19+33 = 52")
if num1 == 19 and sign == '+' and num2 == 34:
print("19+34 = 53")
if num1 == 19 and sign == '+' and num2 == 35:
print("19+35 = 54")
if num1 == 19 and sign == '+' and num2 == 36:
print("19+36 = 55")
if num1 == 19 and sign == '+' and num2 == 37:
print("19+37 = 56")
if num1 == 19 and sign == '+' and num2 == 38:
print("19+38 = 57")
if num1 == 19 and sign == '+' and num2 == 39:
print("19+39 = 58")
if num1 == 19 and sign == '+' and num2 == 40:
print("19+40 = 59")
if num1 == 19 and sign == '+' and num2 == 41:
print("19+41 = 60")
if num1 == 19 and sign == '+' and num2 == 42:
print("19+42 = 61")
if num1 == 19 and sign == '+' and num2 == 43:
print("19+43 = 62")
if num1 == 19 and sign == '+' and num2 == 44:
print("19+44 = 63")
if num1 == 19 and sign == '+' and num2 == 45:
print("19+45 = 64")
if num1 == 19 and sign == '+' and num2 == 46:
print("19+46 = 65")
if num1 == 19 and sign == '+' and num2 == 47:
print("19+47 = 66")
if num1 == 19 and sign == '+' and num2 == 48:
print("19+48 = 67")
if num1 == 19 and sign == '+' and num2 == 49:
print("19+49 = 68")
if num1 == 19 and sign == '+' and num2 == 50:
print("19+50 = 69")
if num1 == 20 and sign == '+' and num2 == 0:
print("20+0 = 20")
if num1 == 20 and sign == '+' and num2 == 1:
print("20+1 = 21")
if num1 == 20 and sign == '+' and num2 == 2:
print("20+2 = 22")
if num1 == 20 and sign == '+' and num2 == 3:
print("20+3 = 23")
if num1 == 20 and sign == '+' and num2 == 4:
print("20+4 = 24")
if num1 == 20 and sign == '+' and num2 == 5:
print("20+5 = 25")
if num1 == 20 and sign == '+' and num2 == 6:
print("20+6 = 26")
if num1 == 20 and sign == '+' and num2 == 7:
print("20+7 = 27")
if num1 == 20 and sign == '+' and num2 == 8:
print("20+8 = 28")
if num1 == 20 and sign == '+' and num2 == 9:
print("20+9 = 29")
if num1 == 20 and sign == '+' and num2 == 10:
print("20+10 = 30")
if num1 == 20 and sign == '+' and num2 == 11:
print("20+11 = 31")
if num1 == 20 and sign == '+' and num2 == 12:
print("20+12 = 32")
if num1 == 20 and sign == '+' and num2 == 13:
print("20+13 = 33")
if num1 == 20 and sign == '+' and num2 == 14:
print("20+14 = 34")
if num1 == 20 and sign == '+' and num2 == 15:
print("20+15 = 35")
if num1 == 20 and sign == '+' and num2 == 16:
print("20+16 = 36")
if num1 == 20 and sign == '+' and num2 == 17:
print("20+17 = 37")
if num1 == 20 and sign == '+' and num2 == 18:
print("20+18 = 38")
if num1 == 20 and sign == '+' and num2 == 19:
print("20+19 = 39")
if num1 == 20 and sign == '+' and num2 == 20:
print("20+20 = 40")
if num1 == 20 and sign == '+' and num2 == 21:
print("20+21 = 41")
if num1 == 20 and sign == '+' and num2 == 22:
print("20+22 = 42")
if num1 == 20 and sign == '+' and num2 == 23:
print("20+23 = 43")
if num1 == 20 and sign == '+' and num2 == 24:
print("20+24 = 44")
if num1 == 20 and sign == '+' and num2 == 25:
print("20+25 = 45")
if num1 == 20 and sign == '+' and num2 == 26:
print("20+26 = 46")
if num1 == 20 and sign == '+' and num2 == 27:
print("20+27 = 47")
if num1 == 20 and sign == '+' and num2 == 28:
print("20+28 = 48")
if num1 == 20 and sign == '+' and num2 == 29:
print("20+29 = 49")
if num1 == 20 and sign == '+' and num2 == 30:
print("20+30 = 50")
if num1 == 20 and sign == '+' and num2 == 31:
print("20+31 = 51")
if num1 == 20 and sign == '+' and num2 == 32:
print("20+32 = 52")
if num1 == 20 and sign == '+' and num2 == 33:
print("20+33 = 53")
if num1 == 20 and sign == '+' and num2 == 34:
print("20+34 = 54")
if num1 == 20 and sign == '+' and num2 == 35:
print("20+35 = 55")
if num1 == 20 and sign == '+' and num2 == 36:
print("20+36 = 56")
if num1 == 20 and sign == '+' and num2 == 37:
print("20+37 = 57")
if num1 == 20 and sign == '+' and num2 == 38:
print("20+38 = 58")
if num1 == 20 and sign == '+' and num2 == 39:
print("20+39 = 59")
if num1 == 20 and sign == '+' and num2 == 40:
print("20+40 = 60")
if num1 == 20 and sign == '+' and num2 == 41:
print("20+41 = 61")
if num1 == 20 and sign == '+' and num2 == 42:
print("20+42 = 62")
if num1 == 20 and sign == '+' and num2 == 43:
print("20+43 = 63")
if num1 == 20 and sign == '+' and num2 == 44:
print("20+44 = 64")
if num1 == 20 and sign == '+' and num2 == 45:
print("20+45 = 65")
if num1 == 20 and sign == '+' and num2 == 46:
print("20+46 = 66")
if num1 == 20 and sign == '+' and num2 == 47:
print("20+47 = 67")
if num1 == 20 and sign == '+' and num2 == 48:
print("20+48 = 68")
if num1 == 20 and sign == '+' and num2 == 49:
print("20+49 = 69")
if num1 == 20 and sign == '+' and num2 == 50:
print("20+50 = 70")
if num1 == 21 and sign == '+' and num2 == 0:
print("21+0 = 21")
if num1 == 21 and sign == '+' and num2 == 1:
print("21+1 = 22")
if num1 == 21 and sign == '+' and num2 == 2:
print("21+2 = 23")
if num1 == 21 and sign == '+' and num2 == 3:
print("21+3 = 24")
if num1 == 21 and sign == '+' and num2 == 4:
print("21+4 = 25")
if num1 == 21 and sign == '+' and num2 == 5:
print("21+5 = 26")
if num1 == 21 and sign == '+' and num2 == 6:
print("21+6 = 27")
if num1 == 21 and sign == '+' and num2 == 7:
print("21+7 = 28")
if num1 == 21 and sign == '+' and num2 == 8:
print("21+8 = 29")
if num1 == 21 and sign == '+' and num2 == 9:
print("21+9 = 30")
if num1 == 21 and sign == '+' and num2 == 10:
print("21+10 = 31")
if num1 == 21 and sign == '+' and num2 == 11:
print("21+11 = 32")
if num1 == 21 and sign == '+' and num2 == 12:
print("21+12 = 33")
if num1 == 21 and sign == '+' and num2 == 13:
print("21+13 = 34")
if num1 == 21 and sign == '+' and num2 == 14:
print("21+14 = 35")
if num1 == 21 and sign == '+' and num2 == 15:
print("21+15 = 36")
if num1 == 21 and sign == '+' and num2 == 16:
print("21+16 = 37")
if num1 == 21 and sign == '+' and num2 == 17:
print("21+17 = 38")
if num1 == 21 and sign == '+' and num2 == 18:
print("21+18 = 39")
if num1 == 21 and sign == '+' and num2 == 19:
print("21+19 = 40")
if num1 == 21 and sign == '+' and num2 == 20:
print("21+20 = 41")
if num1 == 21 and sign == '+' and num2 == 21:
print("21+21 = 42")
if num1 == 21 and sign == '+' and num2 == 22:
print("21+22 = 43")
if num1 == 21 and sign == '+' and num2 == 23:
print("21+23 = 44")
if num1 == 21 and sign == '+' and num2 == 24:
print("21+24 = 45")
if num1 == 21 and sign == '+' and num2 == 25:
print("21+25 = 46")
if num1 == 21 and sign == '+' and num2 == 26:
print("21+26 = 47")
if num1 == 21 and sign == '+' and num2 == 27:
print("21+27 = 48")
if num1 == 21 and sign == '+' and num2 == 28:
print("21+28 = 49")
if num1 == 21 and sign == '+' and num2 == 29:
print("21+29 = 50")
if num1 == 21 and sign == '+' and num2 == 30:
print("21+30 = 51")
if num1 == 21 and sign == '+' and num2 == 31:
print("21+31 = 52")
if num1 == 21 and sign == '+' and num2 == 32:
print("21+32 = 53")
if num1 == 21 and sign == '+' and num2 == 33:
print("21+33 = 54")
if num1 == 21 and sign == '+' and num2 == 34:
print("21+34 = 55")
if num1 == 21 and sign == '+' and num2 == 35:
print("21+35 = 56")
if num1 == 21 and sign == '+' and num2 == 36:
print("21+36 = 57")
if num1 == 21 and sign == '+' and num2 == 37:
print("21+37 = 58")
if num1 == 21 and sign == '+' and num2 == 38:
print("21+38 = 59")
if num1 == 21 and sign == '+' and num2 == 39:
print("21+39 = 60")
if num1 == 21 and sign == '+' and num2 == 40:
print("21+40 = 61")
if num1 == 21 and sign == '+' and num2 == 41:
print("21+41 = 62")
if num1 == 21 and sign == '+' and num2 == 42:
print("21+42 = 63")
if num1 == 21 and sign == '+' and num2 == 43:
print("21+43 = 64")
if num1 == 21 and sign == '+' and num2 == 44:
print("21+44 = 65")
if num1 == 21 and sign == '+' and num2 == 45:
print("21+45 = 66")
if num1 == 21 and sign == '+' and num2 == 46:
print("21+46 = 67")
if num1 == 21 and sign == '+' and num2 == 47:
print("21+47 = 68")
if num1 == 21 and sign == '+' and num2 == 48:
print("21+48 = 69")
if num1 == 21 and sign == '+' and num2 == 49:
print("21+49 = 70")
if num1 == 21 and sign == '+' and num2 == 50:
print("21+50 = 71")
if num1 == 22 and sign == '+' and num2 == 0:
print("22+0 = 22")
if num1 == 22 and sign == '+' and num2 == 1:
print("22+1 = 23")
if num1 == 22 and sign == '+' and num2 == 2:
print("22+2 = 24")
if num1 == 22 and sign == '+' and num2 == 3:
print("22+3 = 25")
if num1 == 22 and sign == '+' and num2 == 4:
print("22+4 = 26")
if num1 == 22 and sign == '+' and num2 == 5:
print("22+5 = 27")
if num1 == 22 and sign == '+' and num2 == 6:
print("22+6 = 28")
if num1 == 22 and sign == '+' and num2 == 7:
print("22+7 = 29")
if num1 == 22 and sign == '+' and num2 == 8:
print("22+8 = 30")
if num1 == 22 and sign == '+' and num2 == 9:
print("22+9 = 31")
if num1 == 22 and sign == '+' and num2 == 10:
print("22+10 = 32")
if num1 == 22 and sign == '+' and num2 == 11:
print("22+11 = 33")
if num1 == 22 and sign == '+' and num2 == 12:
print("22+12 = 34")
if num1 == 22 and sign == '+' and num2 == 13:
print("22+13 = 35")
if num1 == 22 and sign == '+' and num2 == 14:
print("22+14 = 36")
if num1 == 22 and sign == '+' and num2 == 15:
print("22+15 = 37")
if num1 == 22 and sign == '+' and num2 == 16:
print("22+16 = 38")
if num1 == 22 and sign == '+' and num2 == 17:
print("22+17 = 39")
if num1 == 22 and sign == '+' and num2 == 18:
print("22+18 = 40")
if num1 == 22 and sign == '+' and num2 == 19:
print("22+19 = 41")
if num1 == 22 and sign == '+' and num2 == 20:
print("22+20 = 42")
if num1 == 22 and sign == '+' and num2 == 21:
print("22+21 = 43")
if num1 == 22 and sign == '+' and num2 == 22:
print("22+22 = 44")
if num1 == 22 and sign == '+' and num2 == 23:
print("22+23 = 45")
if num1 == 22 and sign == '+' and num2 == 24:
print("22+24 = 46")
if num1 == 22 and sign == '+' and num2 == 25:
print("22+25 = 47")
if num1 == 22 and sign == '+' and num2 == 26:
print("22+26 = 48")
if num1 == 22 and sign == '+' and num2 == 27:
print("22+27 = 49")
if num1 == 22 and sign == '+' and num2 == 28:
print("22+28 = 50")
if num1 == 22 and sign == '+' and num2 == 29:
print("22+29 = 51")
if num1 == 22 and sign == '+' and num2 == 30:
print("22+30 = 52")
if num1 == 22 and sign == '+' and num2 == 31:
print("22+31 = 53")
if num1 == 22 and sign == '+' and num2 == 32: