_,d = map(int,input().split()) input() v = list(map(int,input().split())) s = sum(v) print((s+d-1)//d)