Given a string, find the length of string.

Input Format:
First line contains single integer t, the number of test-cases. Each of next t lines contains a string of lower case alphabets.

Output Format:
Output t lines, each containing the single integer, length of corresponding string.

Constraints:
1 ≤ t ≤ 100
1 ≤ length of string ≤ 100

SAMPLE INPUT
2
hello
heckerearth

SAMPLE OUTPUT
5
11
'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
number=int(input())
while(number>0):
	word=raw_input()
	print(len(word))
	number=number-1