#include <stdio.h>
#define MAX 20
int isNumber(char str[]);
int main(void){
char str[MAX];
while(fgets(str
,MAX
,stdin
)){ printf("%s\n",isNumber
(str
)?"number":"string"); }
return 0;
}
int isNumber(char str[]){
int i;
char c=0;
return (sscanf(str
,"%d%[^\n]",&i
,&c
)==1)&&(c
==0); }
I2luY2x1ZGUgPHN0ZGlvLmg+CgojZGVmaW5lIE1BWCAyMAoKaW50IGlzTnVtYmVyKGNoYXIgc3RyW10pOwoKaW50IG1haW4odm9pZCl7CiAgICBjaGFyIHN0cltNQVhdOwoKICAgIHdoaWxlKGZnZXRzKHN0cixNQVgsc3RkaW4pKXsKICAgICAgICBwcmludGYoIiVzXG4iLGlzTnVtYmVyKHN0cik/Im51bWJlciI6InN0cmluZyIpOwogICAgfQoKICAgIHJldHVybiAwOwp9CgppbnQgaXNOdW1iZXIoY2hhciBzdHJbXSl7CiAgICBpbnQgaTsKICAgIGNoYXIgYz0wOwogICAgcmV0dXJuIChzc2NhbmYoc3RyLCIlZCVbXlxuXSIsJmksJmMpPT0xKSYmKGM9PTApOwp9Cg==