Problems
easyCount Digits
2 Koda Coins

Count Digits

easy2s limit💾 64 MB

Description

Given an integer N, count the number of digits in it.


Input Format

One integer N.


Output Format

Print the count of digits.


Constraints

1 <= N <= 10^18


Example

Input: 12345

Output: 5


Input: 7

Output: 1


Explanation

Keep dividing N by 10 and count how many times you can divide before reaching 0.