#t52. 判断数字位数

判断数字位数

Count the Digits

Problem Description

Given an integer xx, determine how many digits it has.

Input Format

One line with an integer xx.

Output Format

One line with an integer: the number of digits of xx.

Sample Input

123

Sample Output

3

Sample Explanation

For the input 123123, since 123123 consists of the three digits 1,2,31, 2, 3, it is a three-digit number, so output 33.

Constraints

0<x<1090 < x < 10^9, and xx is an integer.