Vanya loves playing. He even has a special set of cards to play with. Each card has a single integer. The number on the card can be positive, negative and can even be equal to zero. The only limit is, the number on each card doesn't exceed x in the absolute value.

Natasha doesn't like when Vanya spends a long time playing, so she hid all of his cards. Vanya became sad and started looking for the cards but he only found n of them. Vanya loves the balance, so he wants the sum of all numbers on found cards equal to zero. On the other hand, he got very tired of looking for cards. Help the boy and say what is the minimum number of cards does he need to find to make the sum equal to zero?

You can assume that initially Vanya had infinitely many cards with each integer number from  - x to x.

 


-----Input-----

The first line contains two integers: n (1 ≤ n ≤ 1000) — the number of found cards and x (1 ≤ x ≤ 1000) — the maximum absolute value of the number on a card. The second line contains n space-separated integers — the numbers on found cards. It is guaranteed that the numbers do not exceed x in their absolute value.


-----Output-----

Print a single number — the answer to the problem.


-----Examples-----
Input
3 2
-1 1 2

Output
1

Input
2 3
-2 -2

Output
2



-----Note-----

In the first sample, Vanya needs to find a single card with number -2.

In the second sample, Vanya needs to find two cards with number 2. He can't find a single card with the required number as the numbers on the lost cards do not exceed 3 in their absolute value.

Difficulty: interview

Starter code:

Solutions:
n,x=list(map(int,input().split()))

L=list(map(int,input().split()))

s=sum(L)

s=abs(s)
ans=0
while(s>0):
    s-=x
    ans+=1
print(ans)


n, x = map(int, input().split())
s = sum(map(int, input().split()))
print((abs(s) + x - 1) // x)

n, x = list(map(int, input().split()))
a = abs(sum(list(map(int, input().split()))))
a = (a + x - 1) // x
print(a)


n, x = map(int, input().split())
z = abs(sum(list(map(int, input().split()))))
if z % x == 0:
    print(z // x)
else:
    print(z // x + 1)

#!/usr/bin/env python3

def read_ints():
	return list(map(int, input().strip().split()))

n, x = read_ints()
s = abs(sum(read_ints()))

print((s+x-1)//x)


n,x=map(int,input().split())
a=list(map(int,input().split()))
s=abs(sum(a))
print(s//x+(1 if s%x!=0 else 0))

n, x = map(int, input().split())
numbers = list(map(int, input().split()))
s = abs(sum(numbers))
res = s // x
if s % x != 0:
    res += 1
print(res)

nn, xx = input().split(' ')
n=int(nn)
x=int(xx)
a = input().split(' ')
s=0
for i in range(n):
    s+=int(a[i])
s=abs(s)
print((s+x-1)//x)


from math import *

def main():
	
	n, x = map(int, input().split())
	A = abs(sum(list(map(int, input().split()))))
	if A == 0:
		print(0)
		return
	l = 0
	r = 10**8
	while r - l > 1:
		m = (l + r) // 2
		if A - m * x > 0:
			l = m
		else:
			r = m
	print(r)

main()

import sys

f = sys.stdin
# f = open("input.txt", "r")

n, x = map(int, f.readline().split())

a = abs(sum(map(int, f.readline().strip().split())))

i = 0
while a > 0:
    a -= x
    i += 1

print(i)

from sys import stdin, stdout
n, x = map(int, stdin.readline().split())
s = sum(map(int, stdin.readline().split()))
stdout.write(str((abs(s) + x - 1) // x))

#!/usr/bin/env python3


def main():
    n, x = list(map(int, input().split()))
    left = abs(sum(map(int, input().split())))
    print("%s" % ((left - 1) // x + 1))


def __starting_point():
    main()


__starting_point()

line = input().split(' ')
n = int(line[0])
x = float(line[1])
num = input().split(' ')
sum = 0
i = 0
while i < n:
    sum += int(num[i])
    i += 1
ans = abs(float(sum)) // x
if (abs(float(sum)) / x) > ans:
    print(int(ans+1))
else:
    print(int(ans))


n, x = map(int, input().split())
print(str((abs(sum(map(int, input().split()))) + x - 1) // x))

a,ma = input().split()
a,ma = int(a),int(ma)
c = [int(x) for x in input().split()]
sm = 0
for x in c:
    sm += x
sm = abs(sm)
if sm/ma != int(sm/ma):
    res = int(sm/ma)+1
else:
    res = int (sm/ma)
print(res)


a=[int(i) for i in input().split(" ")]
n=a[0]
maxi=a[1]
a=[int(i) for i in input().split(" ")]
c=0
s=sum(a)
while s!=0:
    if s<=maxi and s>=-maxi:
        c+=1
        s=0
    elif s>maxi:
        c+=1
        s-=maxi
    elif s<-maxi:
        c+=1
        s+=maxi
print (c)

#-------------------------------------------------------------------------------
# Name:        Codeforces
# Author:      Gogol
#-------------------------------------------------------------------------------

def main():
    n,x = list(map(int,input().split()));
    a = list(map(int,input().split()));
    s = sum(a);
    k = 0;
    c = x;
    while (s != 0):
        if (s > 0):
            if (abs(s) >= abs(c)):
                s = s - c
                k = k + 1
            else:
                c = c - 1
        elif (s < 0 ):
            if (abs(s) >= abs(c)):
                s = s + c
                k = k + 1
            else:
                c = c - 1
    print(k)
def __starting_point():
    main()

__starting_point()

import math


def main():
    n, x = [int(i) for i in input().split()]

    cards = [int(i) for i in input().split()]

    print(math.ceil(abs(sum(cards)) / x))


def __starting_point():
    main()
__starting_point()

n, x = map(int, input().split())
print(str((abs(sum(map(int, input().split()))) + x - 1) // x))

#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      mayank manish
#
# Created:
# Copyright:   (c) mayank manish
# Licence:     <your licence>
#-------------------------------------------------------------------------------

def main():
    pass

def __starting_point():
    main()
n, x = list(map(int, input().split()))
numbers = list(map(int, input().split()))
s = abs(sum(numbers))
res = s // x
if s % x != 0:
    res += 1
print(res)


__starting_point()

#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      mayank manish
#
# Created:
# Copyright:   (c) mayank manish
# Licence:     <your licence>
#-------------------------------------------------------------------------------

import math
def main():
    pass

def __starting_point():
    main()
n, x = list(map(int, input().split()))
numbers = list(map(int, input().split()))
s = abs(sum(numbers))
res = math.ceil(s/x)
print(res)


__starting_point()

import math

n, k = input().split(' ')
s = math.fabs(sum([int(x) for x in input().split(' ')]))
print(int(math.ceil(s / int(k))))