Write a program to take two numbers as input and print their difference if the first number is greater than the second number otherwise$otherwise$ print their sum.

-----Input:-----
- First line will contain the first number (N1$N1$)
- Second line will contain the second number (N2$N2$)

-----Output:-----
Output a single line containing the difference of 2 numbers (N1−N2)$(N1 - N2)$ if the first number is greater than the second number otherwise output their sum (N1+N2)$(N1 + N2)$.

-----Constraints-----
- −1000≤N1≤1000$-1000 \leq N1 \leq 1000$
- −1000≤N2≤1000$-1000 \leq N2 \leq 1000$

-----Sample Input:-----
82
28

-----Sample Output:-----
54

Starter code:

Solutions:
m = int(input())
n = int(input())
print(m-n) if m>n else print(m+n)

# cook your dish here
a = int(input())
b = int(input())
if a>b:
    print(a-b)
else:
    print(a+b)

n1=int(input())
n2=int(input())
print(n1-n2) if(n1>n2) else print(n1+n2)


n1=int(input())
n2=int(input())
if(n1>n2):
    print(n1-n2)
else:
    print(n1+n2)


from sys import *


def main():

    nbre1 = int(stdin.readline().strip())
    nbre2 = int(stdin.readline().strip())
    if nbre1 > nbre2:
        difference = nbre1 - nbre2
        stdout.write(str(difference))
    else:
        somme = nbre1 + nbre2
        stdout.write(str(somme))


def __starting_point():
    main()


__starting_point()

a=int(input())
b=int(input())

if a>b:
    print(a-b) 
    
else:
    print(a+b)

# cook your dish here
x=int(input())
y=int(input())
if(x>y):
    print(x-y)
else:
    print(x+y)

# cook your dish here
n=int(input())
m=int(input())
if n>m:print(n-m)
else:print(n+m)

n1=int(input())
n2=int(input())
if n1>n2:
  print(n1-n2)
else:
  print(n1+n2)

# cook your dish here
n=int(input())
m=int(input())
if n>m:
    print(n-m)
else:
    print(n+m)

# cook your dish here
a=int(input())
b=int(input())
if a>b:
    print(a-b)
else:
    print(a+b)

a=int(input())
b=int(input())
if(a>b):
    print(a-b)
else:
    print(a+b)

# cook your dish here
a=int(input())
b=int(input())
if a>b:
    print(a-b)
else:
    print(a+b)


# cook your dish here
a=int(input())
b=int(input())
if(a>b):
    print(a-b)
else:
    print(a+b)

# cook your dish here
x = int(input())
y = int(input())
if x > y:
    c = x - y
else:
    c = x + y 
print(c)

# cook your dish here
a=int(input())
b=int(input())
if a>b:
	print(a-b)
else:
	print(a+b)

# cook your dish here
a=int(input())
b=int(input())
if a>b:
    print(a-b)
else:
    print(a+b)

# cook your dish here
num1 = int(input())
num2 = int(input())
if num1 > num2:
    print(num1 - num2)
else:
    print(num1 + num2)


# cook your dish here
a=int(input())
b=int(input())
if a>b:
    print(a-b)
else:
    print(a+b)

# cook your dish here
num1=int(input())
num2=int(input())
if num1>num2:
    print(num1-num2)
else:
    print(num1+num2)

# cook your dish here
x = int(input())
y = int(input())
if x > y:
    print(x-y)
else:
    print(x+y)

n1=int(input())
n2=int(input())
if(n1>n2):
    print(n1-n2)
else:
    print(n1+n2)

a = int(input())
b = int(input())

print(a-b if a>b else a+b)

a=int(input())
b=int(input())
if a>b:
    print(a-b)
else:
    print(a+b)

N1,N2=int(input()),int(input())
if N1>N2 :
    print(N1-N2)
else :
    print(N1+N2)