#K54547. Digit Count

    ID: 29777 Type: Default 1000ms 256MiB

Digit Count

Digit Count

You are given a series of numbers represented as strings. Your task is to determine the number of digits in each number.

Problem Statement:

Given an integer \(n\) representing the number of test cases, followed by \(n\) lines each containing a number in string format, print the number of digits of each number on a new line. The input numbers can be very large, so they are provided as strings.

Example:

Input:
3
123
4567
89

Output: 3 4 2

</p>

Note: The number of digits of a number \(x\) is given by \(|x|\). For example, if \(x = 4567\), then \(|x| = 4\).

inputFormat

The first line of input contains an integer \(n\) which is the number of test cases.

Each of the following \(n\) lines contains a non-negative integer represented as a string.

outputFormat

For each test case, output a single line containing the number of digits in the corresponding input number.

## sample
1
7
1

</p>