Vasily the bear has a favorite rectangle, it has one vertex at point (0, 0), and the opposite vertex at point (x, y). Of course, the sides of Vasya's favorite rectangle are parallel to the coordinate axes. 

Vasya also loves triangles, if the triangles have one vertex at point B = (0, 0). That's why today he asks you to find two points A = (x_1, y_1) and C = (x_2, y_2), such that the following conditions hold:  the coordinates of points: x_1, x_2, y_1, y_2 are integers. Besides, the following inequation holds: x_1 < x_2;  the triangle formed by point A, B and C is rectangular and isosceles ($\angle A B C$ is right);  all points of the favorite rectangle are located inside or on the border of triangle ABC;  the area of triangle ABC is as small as possible. 

Help the bear, find the required points. It is not so hard to proof that these points are unique.


-----Input-----

The first line contains two integers x, y ( - 10^9 ≤ x, y ≤ 10^9, x ≠ 0, y ≠ 0).


-----Output-----

Print in the single line four integers x_1, y_1, x_2, y_2 — the coordinates of the required points.


-----Examples-----
Input
10 5

Output
0 15 15 0

Input
-10 5

Output
-15 0 0 15



-----Note-----

[Image]

Figure to the first sample

Difficulty: interview

Starter code:

Solutions:
x,y = [int(x) for x in input().split()]
if x*y > 0:
    if x < 0:
        print(x+y,0,0,x+y)
    else:
        print(0,x+y,x+y,0)
else:
    if x < 0:
        print(x-y,0,0,y-x)
    else:
        print(0,y-x,x-y,0)

def Abs(a):
    if a<0:
        return -a
    return a


def main():
    x,y=[int(a) for a in input().split(' ')]
    val=Abs(x)+Abs(y)
    if(x<0 and y>0):
        print(-val,'0','0',val)
    if(x<0 and y<0):
        print(-val,'0','0',-val)
    if(x>0 and y>0):
        print('0',val,val,'0')
    if(x>0 and y<0):
        print('0',-val,val,'0')
        
main()

x, y = list(map(int, input().split()))
if(x < 0 and y < 0):
    print(x + y, 0, 0, x + y)
elif(x < 0):
    print(x - y, 0, 0, -x + y)
elif(y < 0):
    print(0, - x + y, x - y, 0)
else:
    print(0, x + y, x + y, 0)


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



#y=-x+c
if((x>0 and y>0)):
    c=y+x
    print("0 "+str(c),end=" ")
    print(str(c)+" 0")
elif(x<0 and y<0):
    c=y+x
    print(str(c)+" 0",end=" ")
    print("0 "+str(c))
    
elif(y>x):
    c=y-x
    print(str(-1*c)+" 0",end=" ")
    print("0 "+str(c))
else:
    c=y-x
    print("0 "+str(c),end=" ")
    print(str(-1*c)+" 0")
    


x, y = map(int, input().split())
if x * y > 0:
  k = y + x
  if k > 0:
    print(0, k, k, 0)
  else:
    print(k, 0, 0, k)
else:
  k = y - x
  if k > 0:
    print(-k, 0, 0, k)
  else:
    print(0, k, -k, 0)

s = input()
x = int(s.split()[0])
y = int(s.split()[1])
absl = abs(x) + abs(y)
if (x > 0):
    if (y > 0):
        print(0, absl, absl, 0)
    else:
        print(0, -absl, absl, 0)
else:
    if (y > 0):
        print(-absl, 0, 0, absl)
    else:
        print(-absl, 0, 0, -absl)


from math import floor
s = input()
sl = s.split(' ')
x = int(sl[0])
y = int(sl[1])
dis = abs(x)+abs(y)
# if type(dis) is 'int':
if x > 0:
	if y > 0:
		print('0 {} {} 0'.format(dis, dis))
	else:
		print('0 {} {} 0'.format(-dis, dis))
else:
	if y > 0:
		print('{} 0 0 {}'.format(-dis, dis))
	else:
		print('{} 0 0 {}'.format(-dis, -dis))
# else:
# 	if x > 0:
# 		if y > 0:
# 			print('0 {} {} 0'.format(floor(dis)+1, floor(dis)+1))
# 		else:
# 			print('0 {} {} 0'.format(floor(dis)+1, -(floor(dis)+1)))
# 	else:
# 		if y > 0:
# 			print('0 {} {} 0'.format(-(floor(dis)+1), floor(dis)+1))
# 		else:
# 			print('0 {} {} 0'.format(-(floor(dis)+1), -(floor(dis)+1)))


# Codeforces 195, div. 2
# Task A

def solve(x, y):
    t = abs(x) + abs(y)
    if x > 0 and y > 0:
        return 0, t, t, 0
    elif x > 0 and y < 0:
        return 0, -t, t, 0
    elif x < 0 and y > 0:
        return -t, 0, 0, t
    else:
        return -t, 0, 0, -t

def test():
    assert solve(10, 5) == (0, 15, 15, 0)
    assert solve(-10, 5) == (-15, 0, 0, 15)
    print("test passes")

tmp = input()
tmp = list(map(int, tmp.split()))
for i in solve(tmp[0], tmp[1]):
    print(i, end=' ')
    



x, y = input().split()

x = int(x)
y = int(y)

if x>0 and y>0:
    x1 = 0
    y1 = x+y
    x2 = x+y
    y2 = 0

elif x<0 and y>0:
    x1 = x-y
    y1 = 0
    x2 = 0
    y2 = -x+y

elif x>0 and y<0:
    x1 = 0
    y1 = -x+y
    x2 = x+(-y)
    y2 = 0

else:
    x1 = x+y
    y1 = 0
    x2 = 0
    y2 = x+y
    
    
print(x1,' ',y1,' ',x2,' ',y2)


x,y=list(map(int,input().split()))
x1,x2,y1,y2=0,0,0,0
if x<0:
    if y<0:
        x1=x+y
        y2=y+x
    else:
        x1=x-y
        y2=y-x
else:
    if y<0:
        x2=x-y
        y1=y-x
    else:
        x2=x+y
        y1=y+x
print(x1,y1,x2,y2)

def vector(a, b, c, d):
    return([c - a, d - b])

def cross_product(a, b):
    return(a[0] * b[1] - a[1] * b[0])

def dot_product(a, b):
    return(a[0] * b[0] + a[1] * b[1])

def bin_search(lo, hi):
    while (hi - lo > 1):
        mid = (lo + hi) // 2;
        if cross_product(vector(0, mid, mid, 0), vector(0, mid, x1, y1)) < EPS:
            hi = mid
        else:
            lo = mid
    return(hi)
            

x, y = list(map(int, input().split()));
EPS = 1e-9
x1, y1 = abs(x), abs(y);
res = int((bin_search(max(x1, y1), 1e18)));
if x < 0:
    if y < 0:
        print(-res, 0, 0, -res)
    else:
        print(-res, 0, 0, res)
else:
    if (y > 0):
        print(0, res, res, 0)
    else:
        print(0, -res, res, 0)

3

x, y = tuple(map(int, input().split()))
if x > 0 and y > 0:
    print(0, x + y, x + y, 0)
elif x > 0 and y < 0:
    print(0, -x + y, x - y, 0)
elif x < 0 and y > 0:
    print(x - y, 0, 0, -x + y)
else:
    print(x + y, 0, 0, x + y)


data = input().split(" ")
x = int(data[0])
y = int(data[1])

sign_x = -1
sign_y = -1

if x > 0:
    sign_x = 1
if y > 0:
    sign_y = 1

value = abs(x) + abs(y)

if sign_x == 1 and sign_y == 1:
    print("0 %s %s 0" % (value * sign_x, value * sign_y))
elif sign_x == 1 and sign_y == -1:
    print("0 %s %s 0" % (value * sign_y, value * sign_x))
elif sign_x == -1 and sign_y == -1:
    print("%s 0 0 %s" % (value * sign_x, value * sign_y))
elif sign_x == -1 and sign_y == 1:
    print("%s 0 0 %s" % (value * sign_x, value * sign_y))

[x, y] = [int(i) for i in input().split()]

if x >= 0:
    if y >= 0:
    	print(0,' ',x+y,' ',x+y,' ',0)
    else:
        print(0,' ',y-x,' ',x-y,' ',0)
else:
    if y >= 0:
    	print(x-y,' ',0,' ',0,' ',y-x)
    else:
    	print(x+y,' ',0,' ',0,' ',x+y)


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

if x >= 0:
    if y >= 0:
        print(0,' ',x+y,' ',x+y,' ',0)
    else:
        print(0,' ',y-x,' ',x-y,' ',0)
else:
    if y >= 0:
        print(x-y,' ',0,' ',0,' ',y-x)
    else:
        print(x+y,' ',0,' ',0,' ',x+y)

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

k = 1 if -(y // x) > 0 else  -1

b = y - k * x


tr_x = -b // k
tr_y = b

if tr_x < 0:
    print(tr_x, 0, 0, tr_y)
else:
    print(0, tr_y, tr_x, 0)


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

A_x, B_x, A_y, B_y = 0, 0, 0, 0

A = abs(x) + abs(y)
B = -(A)

if x < 0:
    A_x = B
    if y > 0:
        B_y = A
    else:
        B_y = B
else:
    B_x = A
    if y > 0:
        A_y = A
    else:
        A_y = B
    
print("%d %d %d %d" % (A_x, A_y, B_x, B_y))


a,b=input().split()
x=int(a)
y=int(b)
if x>0 and y>0:
    print(0,x+y,x+y,0)
elif x>0 and y<0:
    print(0,-(abs(y)+x),(abs(y)+x),0)
elif x<0 and y>0:
    print(-(abs(x)+y),0,0,(abs(x)+y))
elif x<0 and y<0:
    print(x+y,0,0,x+y)



I=[int(i) for i in input().split()]
x, y =I[0], I[1]
ans=int(abs(x)+abs(y))
A, C = [0,0], [0,0]
if x>0 and y>0:
    A[1], C[0] = ans, ans
if x>0 and y<0:
    A[1], C[0] = -ans, ans
if x<0 and y>0:
    A[0], C[1] = -ans, ans
if x<0 and y<0:
    A[0], C[1] = -ans, -ans
print(str(A[0])+' '+str(A[1])+' '+str(C[0])+' '+str(C[1]))

x,y = map(int,input().split())
z = abs(x)+abs(y)
if x>0 and y>0: print(0,z,z,0)
elif x>0 and y<0: print(0,-z,z,0)
elif x<0 and y>0: print(-z,0,0,z)
elif x<0 and y<0: print(-z,0,0,-z)

x, y = map(int, input().split())
p1, p2 = (0, (-1 if y < 0 else 1) * (abs(x) + abs(y))), ((-1 if x < 0 else 1) * (abs(x) + abs(y)), 0)
if p1[0] > p2[0]:
    p1, p2 = p2, p1
print(' '.join(map(str, p1 + p2)))

number=input("")
for index in range(0, len(number)):
    if number[index] ==' ':
        split=index
num1=number[0:split]
num2=number[split:len(number)]
num1=int(num1)
num2=int(num2)
sum=abs(num1)+abs(num2)
if num1>0 and num2>0:
    print(0, sum, sum, 0)
if num1<0 and num2>0:
    print(-1*sum,0, 0, sum)
if num1>0 and num2<0:
    print(0, -sum, sum, 0)
if num1<0 and num2<0:
    print(-sum, 0, 0, -sum)

x,y=list(map(int,input().split()))
m=abs(x)+abs(y)
if x>=0 :
    if y>=0:
        print(0,m,m,0)
    else:
        print(0,-m,m,0)
else :
    if y>=0:
        print(-m,0,0,m)
    else:
        print(-m,0,0,-m)
    


import sys
f = sys.stdin
#f = open("input.txt", "r")
line = [int(i) for i in f.read().strip().split()]
x, y = line[0], line[1]
x1, x2 = 0, abs(x)+abs(y)
y1, y2 = abs(x)+abs(y), 0
if x<0 and y>0:
    x1, y1 = y1*-1, x1
    x2, y2 = y2*-1, x2
elif x>0 and y<0:
    y1 *= -1
elif x<0 and y<0:
    x1, x2 = x2*-1, x1
    y1, y2 = y2, y1*-1
print(x1,y1,x2,y2)

while(1):
    try:
        x,y=map(int,input().split())
        if x>0 and y>0:
            x1,y1,x2,y2=0,x+y,x+y,0
        elif x<0 and y>0:
            x1,y1,x2,y2=-(-x+y),0,0,-x+y
        elif x<0 and y<0:
            x1,y1,x2,y2=-(-x-y),0,0,-(-x-y)
        else:
            x1,y1,x2,y2=0,-(x-y),x-y,0
        print(x1,y1,x2,y2,end=' ')
    except EOFError:
        break