Page not loading? Try clicking here.
Placeholder

#2281

0의 개수 세기 1s - MB

Problems

1부터 N까지의 자연수를 공책에 적을 때, 쓰게 되는 0의 개수를 출력하는 프로그램을 작성하라.


Input

1이상 50,000 이하의 자연수 N이 입력된다.


Output

쓰게 되는 0의 개수를 출력한다.


Example #1

10
1

Example #2

1000
192
You must sign in to write code.