#include<bits/stdc++.h>
using namespace std;
int main ()
{
srand(time(0));
int a=rand()%10+1,b;
cout<<"Please quess a number."<<endl;
while(cin>>b)
{
if(a==b)
cout<<"You're right!"<<endl;
if(a!=b)
cout<<"you're wrong.Please guess again."<<endl;
}
return 0;
}