int a,b; cin>>a>>b; if ((a >= 0 && a <=5) && (b>=0 && b<=5)) cout<<"Ok!";<br> else cout <<"Ошибка";<br> return 0;