private void begin() {
		int[] i = new int[101];
		int[] v = new int[101];
		int[] x = new int[101];
		int[] l = new int[101];
		int[] c = new int[101];
		for ( int n = 1; n <= 100; n++ ) {
			i[n] = i[n-1];
			v[n] = v[n-1];
			x[n] = x[n-1];
			l[n] = l[n-1];
			c[n] = c[n-1];
			String roman = romanize(n);
			for ( int chr = 0; chr < roman.length(); chr++ ) {
				switch (roman.charAt(chr)) {
				case 'i': i[n]++; break;
				case 'v': v[n]++; break;
				case 'x': x[n]++; break;
				case 'l': l[n]++; break;
				case 'c': c[n]++; break;
				}
			}
		}
		
		int e = Integer.parseInt(readLn());
		while ( e != 0 ) {
			System.out.println(e+": "+i[e]+" i, "+v[e]+" v, "+x[e]+" x, "+l[e]+" l, "+c[e]+" c");
			e = Integer.parseInt(readLn());
		}
	}