Problem:
Red Dragonfly It’s still hot every day, but September has already come. It’s autumn according to the calendar. Looking around, I see two red dragonflies at rest on the wall in front of me. It’s autumn indeed. When two red dragonflies’ positional information as measured from the end of the wall is given, make a program to calculate the distance between their heads. Input The input is given in the following format. $x_1$ $x_2$ The input line provides dragonflies’ head positions $x_1$ and $x_2$ ($0 \leq x_1, x_2 \leq 100$) as integers. Output Output the distance between the two red dragonflies in a line. Sample Input 1 20 30 Sample Output 1 10 Sample Input 2 50 25 Sample Output 2 25 Sample Input 3 25 25 Sample output 3 0

Solution (Python):
x1,x2 = map(int, input().split())
print(abs(x1-x2))

Solution (Python):


x1, x2 = list(map(int, input().split(' ')))
dist = abs(x1-x2)
print(dist)

Solution (Python):
a,b=list(map(int,input().split()))
print(abs(a-b))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1-x2))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):

a,b=(int(x) for x in input().split())

c=abs(a-b)
print(c)

Solution (Python):
x1,x2=map(int,input().split())
if x1>x2:
 print(x1-x2)
elif x1<x2:
 print(x2-x1)
else:
 print(0)

Solution (Python):
a,b=map(int,input().split())
if a-b==0:
    print(0)
elif a>b:
    print(a-b)
else:
    print(b-a)

Solution (Python):
a,b = input().split()
a = int(a)
b = int(b)
if a<b:
    c = b-a
else:
    c = a-b
print(int(c))

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
a,b=map(int,input().split())

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

Solution (Python):
a,b=(int(x) for x in input().split())
c=abs(a-b)
print(c)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
a,b =map(int,(input().split()))

print(abs(a-b))

Solution (Python):
a,b=map(int,input().split())
if a>b:print(a-b)
elif a<b:print(b-a)
elif a==b:print(0)

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x2-x1))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
a,b=map(int,input().split())
if a>b:
  print(a-b)
else:
  print(b-a)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x_1,x_2=map(int,input().split())
print(abs(x_2-x_1))

Solution (Python):
a,b=map(int,input().split())

print(abs(a-b))

Solution (Python):
x1,x2=map(int,input().split())
y= abs(x1-x2)
print(y)

Solution (Python):
x1,x2=map(int,input().split())
if x1<x2:
    print(x2-x1)
if x1>x2:
    print(x1-x2)
if x1==x2:
    print('0')

Solution (Python):
a,b = map(int,input().split())
print(abs(a-b))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1 - x2))

Solution (Python):
x,y=map(int, input().split())
if x < y :
    print(int(y-x))
else :
    print(int(x-y))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x2-x1))

Solution (Python):
x1,x2=map(int,input().split())
a=abs(x1-x2)
print(a)

Solution (Python):
a,b=map(int,input().split())
if a>b:
    print(a-b)
else:
    print(b-a)

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
a, b = map(int, input().split())
print(abs(a-b))

Solution (Python):


a,b = map(int,input().split())
if a>b:
    print(a-b)
elif a<b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
import math
x,y=map(int,input().split())
m=int(math.fabs(x-y))
print(m)

Solution (Python):
x1,x2 = map(int,input().split())
y = abs(x1 - x2)
print(y)

Solution (Python):
x1,x2=map(int,input().split())
if x1>=x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
x1,x2 = map(int,input().split())
if x1>=x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
a,b=(int(x) for x in input().split())

if 0<=a<=b<=100:
    print(b-a)
     
elif 0<=b<=a<=100:
    print(a-b)

Solution (Python):


x,y = map(int,input().split())
s = x-y
if x<y:
    s = -s
print(s)

Solution (Python):
x1,x2=map(int,input().split())
if (x1>=x2):
   print(x1-x2)
else:
   print(x2-x1)

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
s = input().split( )
a = int(s[0])
b = int(s[1])
if a-b < 0:
  print(-(a-b))
else:
  print(a-b)

Solution (Python):
a, b = map(int, input().split())
print(abs(a - b))

Solution (Python):
a,b=map(int,input().split())
x=int(abs(a-b))
print(x)

Solution (Python):
a,b=map(int,input().split())
if b>a:
    s=b - a
else:
    s=a - b
print(int(s))

Solution (Python):
a,b=map(int,input().split())
x=a-b
y=abs(x)
print(y)

Solution (Python):
a,b=map(int,input().split())
if a>b:
    print(int(a-b))
else:
    print(int(b-a))

Solution (Python):
x1,x2 = map(int,input().split())
if x1 > x2:
    print(x1-x2)
else :
    print(x2-x1)

Solution (Python):
x1,x2=map(int,input().split())
if x1<=x2:
    print(x2-x1)
else:
    print(x1-x2)

Solution (Python):
x_1,x_2=map(int,input().split())
print(abs(x_2-x_1))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1 - x2))

Solution (Python):
x1,x2=map(int,input().split())
if x2 > x1:
    print(int(x2 - x1))
elif x1 > x2:
    print(int(x1 - x2))
else:
    print('0')

Solution (Python):
a,b=map(int,input().split())
if a>=b:
    print(int(a-b))
elif b>a:
    print(int(b-a))

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
import math
x1, x2=map(int,input().split())
print(int(math.fabs(x1-x2)))

Solution (Python):
x1,x2 = list(map(int, input().split()))
print(abs(x1-x2))

Solution (Python):



a,b=map(int,input().split())
y = abs(a-b)
print(y)

Solution (Python):
a,b=map(int,input().split())
if a>b:print(a-b)
else:print(b-a)

Solution (Python):
x1,x2=map(int,input().split())
if x1>x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
a,b = map(int,input().split())
if a>b:
    print(a-b)
else :
    print(b-a)

Solution (Python):
a,b= map(int, input().split())
if a < b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x1,x2 = map(int,input().split())
if x1 > x2:
    print(x1-x2)
else :
    print(x2-x1)

Solution (Python):
x1,x2 = map(int,input().split())
if x1 > x2:
    print(x1-x2)
else :
    print(x2-x1)

Solution (Python):
x1, x2 = map(int, input().split()) 
if x1 >= x2:   
    print(x1 - x2) 

else:    print(x2 - x1)

Solution (Python):
x1,x2=map(int,input().split())
if x1<=x2:
    print(x2 - x1)
else:
    print(x1 - x2)

Solution (Python):
x1,x2 = (int(x) for x in input().split())
print(abs(x1 - x2))

Solution (Python):
x1,x2=map(int,input().split())
if x1>=x2:
    print(x1-x2)
elif x1<x2:
    print(x2-x1)

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(b-a)
elif a>b:
    print(a-b)
else:
    print(0)

Solution (Python):

a,b = map(int,input().split())
print(abs(b - a))

Solution (Python):
x1,x2 = map(int,input().split())
print(abs(x1 - x2))

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
a , b = map (int , input() . split())
if( a>b ):
    print( a-b )
else:
    print( b-a )

Solution (Python):
x1,x2=map(int,input().split())
print('{:.0f}'.format(((x1-x2)**2)**(1/2)))

Solution (Python):
x1,x2 = map(int,input().split())
print('{:.0f}'.format(((x1-x2)**2)**(1/2)))

Solution (Python):


x1,x2=map(int,input().split())

x1,x2=sorted([x1,x2])
print(x2-x1)

Solution (Python):
x1,x2=map(int,input().split())
if x1>=x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
x1,x2=map(int,input().split())
if x1<x2:
    print(x2 - x1)
elif x1>x2:
    print(x1 - x2)
elif x1==x2:
    print(x1 - x2)

Solution (Python):
x,y=map(int,input().split())
print(abs(x-y))

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x1,x2 = map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x1,x2=map(int,input().split())

if x1>x2: 
    print(round(x1-x2))

elif x1==x2:
    print("0")

else:
    print(x2-x1)

Solution (Python):
x,y=(int(x)for x in input().split())

if x>y:
    print(x-y)
    
elif x<y:
    print(y-x)
    
elif x==y:
    print('0')

Solution (Python):
x1,x2=(int(x) for x in input().split())

if 0<=x1 and x2<=100:
   print(abs(x1-x2))
else:
   pass

Solution (Python):



a,b=map(int,input().split())
A = int()
if(a>b):
    A = a-b
else:
    A = b-a
print('%d'%A)

Solution (Python):
a,b=map(int,input().split())
if a<=b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x1,x2=map(int,input().split())
if x1>x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
x,y=map(int,input().split())
if x>=y:
    print(x-y)
else:
    print(y-x)

Solution (Python):
x1,x2 = map(int, input().split())
c=abs(x1-x2)
print(c)

Solution (Python):

x1,x2=map(int,input().split())

if x1>=x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
import math
a , b = map(int,input().split())
if a<b:
    print(b-a)
elif a>b:
    print(a-b)
else:
    print("0")

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
x_1,x_2 = map(int,input().split())
x = abs(x_2-x_1)
print(x)

Solution (Python):
a,b=map(int,input().split())

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

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(int(b-a))
elif a>b:
    print(int(a-b))
else:
    print("0")

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(b-a)
else :
    print(a-b)

Solution (Python):
a,b = map(int,input().split())

if a<b:
    print(b-a)
elif a>b:
    print(a-b)
else:
    print("0")

Solution (Python):
a,b=map(int,input().split())

c=(b-a)

if c>0:
   print(c)
else:
    print(-c)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x1,x2 = map(int,input().split())
print(abs(x2-x1))

Solution (Python):
x1,x2=map(int,input().split())
if x1>x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
import math
a,b=map(int,input().split())
c=int(a-b)
d=abs(c)
print(d)

Solution (Python):
x1,x2 = map(int,input().split())
y = x1 - x2
Y = abs(y)
print(Y)

Solution (Python):
a,b = map(int,input().split())
if a < b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x1,x2=map(int,input().split())
if x1>=x2:
    print(x1-x2)
else:
  print(x2-x1)

Solution (Python):
x1,x2 = map(int,input().split())
if x1 > x2 :
    print(int(x1-x2))
else :
    print(int(x2-x1))

Solution (Python):
x1, x2 = map(int, input().split())
if x1> x2:
    print(x1 - x2)
elif x1< x2:
    print(x2 - x1)
else:
    print("0")

Solution (Python):
x_1,x_2=map(int,input().split())
if x_1<x_2:
    print(x_2-x_1)
else:
    print(x_1-x_2)

Solution (Python):
a,b = map(int,input().split())
if a<b:
   print(b-a)
else:
    print(a-b)

Solution (Python):



x1, x2 = map(int, input().split())
if x1 >= x2:
   print(x1 - x2)
else:
   print(x2 - x1)

Solution (Python):
x1,x2=map(int,input().split())

if x1>x2:
    print(x1 - x2)
else:
    print(x2 - x1)

Solution (Python):
import math
a, b = (int(x) for x in input().split())
print(int ( math.sqrt((a-b)**2) ) )

Solution (Python):
a,b =map(int,input().split())
if a>b:
    print(a-b)
elif a==b:
    print("0")
else:
    print(b-a)

Solution (Python):
a,b= map(int,input().split())
if a < b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x1, x2 = map(int,input().split())
if x1 >= x2:
    print(x1 - x2)
else:
    print(x2 - x1)

Solution (Python):
a,b=map(int,input().split())
if(a>b):
    print(a-b)
else:
    print(b-a)

Solution (Python):
a,b=map(int,input().split())
if a<b:
    print(b-a)
else :
    print(a-b)

Solution (Python):
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=abs(a-b)
print(c)

Solution (Python):
x1,x2 = map(int,input().split())
if x1 > x2:
    print(x1-x2)
elif x2 > x1:
    print(x2-x1)
else:
    print("0")

Solution (Python):
a,b=(int(x) for x in input().split())
print(abs(round(b-a)))

Solution (Python):
x1,x2 = map(int,input().split())
if x1>x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
x1, x2 = map(int, input().split())

if x1<=x2:
    d = x2-x1
else:
    d = x1-x2
    
print(d)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x2-x1))

Solution (Python):
a , b = map(int,input().split())
x = a - b
y = abs(x)
print(y)

Solution (Python):
x1,x2=map(int,input().split())
if x1>x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
import math
a,b=map(int,input().split())
c=math.fabs(a-b)
print(math.floor(c))

Solution (Python):
l = input().split()
a = int(l[0])
b = int(l[1])
if a<b:
    print (b-a)
elif a>b:
    print (a-b)
else:
    print ('0')

Solution (Python):
x1,x2=map(int,input().split())
if x1<x2:
    print(x2-x1)
else:
    print(x1-x2)

Solution (Python):
x1,x2=map(int,input().split())
if x1>=x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
x1,x2= map(int,input().split())
if x1<x2:
    print((int)(x2-x1))
else:
     print((int)(x1-x2))

Solution (Python):
a,b=map(int,input().split())
if a<b:
    t=a
    a=b
    b=t
print(a-b)

Solution (Python):
x1,x2=map(int,input().split())
if x2>x1:
    print(int(x2-x1))
elif x2==x1:
    print(int(x2-x1))
else:
    print(int(x1-x2))

Solution (Python):
x1,x2 = map(int,input().split())

if x1 > x2:
    print(x1-x2)
else:
    print(x2-x1)

Solution (Python):
x1 ,x2 = map(int, input() . split())
print(abs(x1 - x2))

Solution (Python):
x1,x2=map(int,input().split())
if x1>=x2:
    print(int(x1-x2))
else:
    print(int(x2-x1))

Solution (Python):
x1,x2=map(int,input().split())
if 0<=x1<=100 and 0<=x2<=100:
    if x1>=x2:
        print(x1-x2)
    else:
        print(x2-x1)
else:
    pass

Solution (Python):
x1, x2 = map(int,input().split())
print(int(abs(x1-x2)))

Solution (Python):

x,y=map(int,input().split())

z=x-y
print(abs(z))

Solution (Python):
x1,x2=(int(x) for x in input().split())
if x2>x1:
    print(int(x2-x1))
else:
    print(int(x1-x2))

Solution (Python):
a,b=map(int,input().split())

if a<b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x_1,x_2 = map(int, input().split())

if x_1 > x_2:
    print(x_1-x_2)
if x_1 < x_2:
    print(x_2-x_1)
if x_1 == x_2:
    print(x_1-x_2)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x1-x2))

Solution (Python):
a,b = map(int,input().split())
if a>b:
    print(a-b)
else:
    if a==b:
        print("0")
    else:
        print(b-a)

Solution (Python):
a, b=map(int,input().split())
if a > b:
    x=a-b
    print(x)
elif a < b:
    y=b-a
    print(y)
else:
    z=a-b
    print(z)

Solution (Python):
a,b=map(int,input().split())
if a <= b:
    print(b-a)
else:
    print(a-b)

Solution (Python):
x1,x2=map(int,input().split())
print(abs(x2-x1))

Solution (Python):
a,b=map(int,input().split())
if a<b:
    x=b-a
else:
    x=a-b
print(x)

Solution (Python):
a,b=map(int,input().split())
if a>b:
    print(int(a-b))
else:
    print(int(b-a))

Solution (Python):
x1,x2=map(int,input().split())

c=abs(x2-x1)

print(c)

Solution (Python):
x1,x2=map(int,input().split())
if x1<x2:
    print(x2-x1)
else:
    print(x1-x2)

Solution (Python):
x1,x2=map(int,input().split())
if x1<x2:
    print(x2-x1)
else:
    print(x1-x2)

Solution (Python):
a,b = input().split()
c=int(int(a)-int(b))
if c<0 : c=c*(-1)
print(c)

Solution (Python):



x1, x2 = map(int, input().split())
if x1 >= x2:
   print(x1 - x2)
else:
   print(x2 - x1)

Solution (Python):


a,b=map(int,input().split())
if(a>b):
    print(a-b)
elif(a<b):
    print(b-a)
else:
    print("0")

Solution (Python):
a, b= map(int, input().split())
if b > a :
    a, b = b, a
print(a - b)

Solution (Python):
x1,x2=input().split()
x1=int(x1)
x2=int(x2)
if x1<=x2:
    print(int(x2-x1))
else:
    print(int(x1-x2))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
x1, x2 = map(int, input().split())

print(abs(x1 - x2))

Solution (Python):
a,b = map(int,input().split())
x = abs(a-b)
print(x)

Solution (Python):
x,y=map(int,input().split())
if x<=y:
    print(y-x)
else:
    print(x-y)

Solution (Python):
a, b = map(int, input().split())
print(abs(a-b))

Solution (Python):
a,b=map(int, input().split())
print(abs(a-b))

Solution (Python):
x1, x2 = map(int, input().split())
y = x1-x2
if y <=0:
    print(-y)
else:
    print(y)

Solution (Python):
a,b = map(int,input().split())
print(abs(a-b))

Solution (Python):
m,n = [ int(s) for s in input().split() ]
  
if m > n:
    print(m-n)
else:
    print(n-m)

Solution (Python):
x,y=map(int,input().split())
print(abs(x-y))

Solution (Python):
x1, x2 = [int(x) for x in input().split()]
print(abs(x1-x2))

Solution (Python):
x = list(map(int, input().split()))
print(abs(x[0]-x[1]))

Solution (Python):
x1,x2 =map(int,input().split())

print (abs(x1 - x2))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
x,y=map(int,input().split())
if x==y:
    print(0)
elif x>y:
    print(x-y)
else:
    print(y-x)

Solution (Python):
a, b = map(int, input().split())
print(abs(b - a))

Solution (Python):
a,b = map(int,input().split(" "))
if a > b:
  print(a-b)
else:
  print(b-a)

Solution (Python):
a,b=map(int,input().split())
if a>=b:
    print(a-b)
else:
    print(b-a)

Solution (Python):
a, b = map(int, input().split())
print(abs(a - b))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1 - x2))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x2-x1))

Solution (Python):
def main():
     x = list(map(int,input().split()))
     print(abs(x[0]-x[1]))

if __name__ == '__main__':
    main()

Solution (Python):
a,b = [int(i) for i in input().split()]
if a > b:
    print(a - b)
else:
    print(b - a)

Solution (Python):
a, b = map(int, input().split())
print(abs(a-b))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1 - x2))

Solution (Python):
x1,x2=map(int,input().split())
if x1<=x2:
    print(x2-x1)
else:
    print(x1-x2)

Solution (Python):
x, y = input().split(' ')
print(abs(int(x) - int(y)))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1 - x2))

Solution (Python):
a,b=map(int,input().split())
print(abs(a-b))

Solution (Python):
x1,x2 = map(int, input().split())
print(abs(x1-x2))

Solution (Python):


x = list(map(int, input().split(" ")))
if x[0] >= x[1]:
    print(x[0] - x[1])
else:
    print(x[1] - x[0])

Solution (Python):
a, b = map(int, input().split())
print(abs(a - b))

Solution (Python):
x1, x2 = map(int, input().split())
print(abs(x1-x2))

Solution (Python):
x, y = map(int, input().split())
if x >= y:
    print(x-y)
else:
    print(y-x)

Solution (Python):
x1, x2 = map(int, input().split())

if x1 > x2:
    a = x1 - x2
else:
    a = x2 - x1

print(a)

Solution (Python):

x1,x2 = map(int,input().split())

if(x1 >= x2):
    print(x1 - x2)

elif(x1 < x2):
    print(x2 - x1)

Solution (Python):
a,b = map(int, input().split())
ans = abs(a-b)
print(ans)

Solution (Python):
a,b = map(int,input().split())
print(abs(a-b))

Solution (Python):
a, b = map(int, input().split())
print(abs(a-b))