n,m = map(int,input().split()) 
n=n*1000
if n%m==0:
    print(n//m)
else:
    print(n//m+1)


/**************************************************************
	Problem: 1309
	User: admin
	Language: Python
	Result: Accepted
	Time:143 ms
	Memory:34244 kb
****************************************************************/