UVa 10921 - Find the Telephone

One of the simplest problems in the whole archive/ contest. -temper3243@gmail.com /* temper3243@gmail.com */
 * 1) include

int carr[]={2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9};

int main {	char s[35]; int len,i; while(scanf(" %s",s)!=-1) {		len=strlen(s); for(i=0;i='A') printf("%d",carr[s[i]-'A']); else printf("%c",s[i]);

printf("\n"); }	return 0; }