#include <iostream>
#include <cstring>
#include <stdio.h>

using namespace std;

int main() {
	int input;
	char buffer[30];
	
	while (cin >> input)
	{
		cout << "Length of " << input << " is " << sprintf(buffer, "%d", input) << endl;
	}
	
	return 0;
}