#include <iostream>
using namespace std;
//#include <string>
int main()
{
int no;
char name[20];
cout << "input no or name" << endl;
char ch=cin.peek();
if (ch>='0' && ch<='9')
{
cin >> no;
cout << "no=" << no << endl;
}
else
{
cin.getline(name, 20);
cout << "name=" << name << endl;
}
return 0;
}