#include<stdio.h>
struct tokens{
char value[128];
char kind[64];
}token_list[128];
int token_list_p = 0;
void token(char input[128]){
int p = 0;
while(p < 127){
if((input[p]>='a' && input[p]<='z') || (input[p]>='A' && input[p]<='Z')){
char word[128];
int p2 = 0;
while((input[p]>='a' && input[p]<='z') || (input[p]>='A' && input[p]<='Z')){
word[p2] = input[p];
p2++;
p++;
}
token_list[token_list_p] = (struct tokens){word,"string"};
token_list_p++;
continue;
}
if(input[p] >='0' && input[p]<='9'){
int p2 = 0;
char word[128];
while(input[p] >='0' && input[p]<='9'){
word[p2] = input[p];
p2++;
p++;
}
token_list[token_list_p] = (struct tokens){word,"string"};
token_list_p++;
continue;
}
}
}
int main(){
char input[128];
scanf("%s",input);
token(input);
printf("%s",token_list[0].kind);
int a;
scanf("%d",&a);
return 0;
}
用c写的token,输入后却不显示