#include#include using namespace std;int main(){char abc[20];int n , max[100] , min[100] , i = 0 , j = 0 , k, cnt = 0 ,number = 0;while(cin>>n){ number++; if(number == 1 && n == 0) return 0; getchar(); gets(abc); if( !strcmp("too high",abc) ) max[i++] = n; if( !strcmp("too low",abc) ) min[j++] = n; if( !strcmp("right on",abc) ) { for( k = 0 ; k < i ; k++) { if( max[k] <= n ) {cout<<"Stan is dishonest"< = n) {cout<<"Stan is dishonest"<