n1 = int ( input ( "Number 1: " ) )

n2 = int ( input ( "Number 2: " ) )

def sub ( x , y ) :

if x >= y:

greater = x

lesser = y

else :

lesser = x

greater = y

sres = int ( 0 )

for c in range ( lesser , greater ) :

sres + = 1

return sres

def add ( a , b ) :

if a >= b:

greater = a

lesser = b

else :

lesser = a

greater = b

ares = int ( 0 )

for i in range ( greater ) :

if i < lesser:

for k in range ( 2 ) :

ares = sub ( ares , - 1 )

else :

ares = sub ( ares , - 1 )

return ares

def sumstring ( e , f ) :

sstring = str ( )

for l in range ( len ( str ( str ( e ) + " plus " + str ( f ) + " is " + str ( add ( e , f ) ) ) ) ) :

sstring = str ( sstring+ str ( str ( e ) + " plus " + str ( f ) + " is " + str ( add ( e , f ) ) ) [ l ] )

print ( sstring )

def mul ( m , n ) :

pres = int ( 0 )

for i in range ( m ) :

for j in range ( n ) :

pres = add ( pres , 1 )

return pres

def prodstring ( g , h ) :

pstring = str ( )

for o in range ( len ( str ( str ( g ) + " times " + str ( h ) + " is " + str ( mul ( g , h ) ) ) ) ) :

pstring = str ( pstring+ str ( str ( g ) + " times " + str ( h ) + " is " + str ( mul ( g , h ) ) ) [ o ] )

print ( pstring )

sumstring ( n1 , n2 )