#include <iostream>
using namespace std;
int main()
{
int n, cul;
cout << "n= "; cin >> n;
cout <<" al " << n << "-lea patratel va fi de culoare ";
cul=n%5;
if (cul==1) cout << "rosu";
if (cul==2) cout << "galben";
if (cul==3) cout << "violet";
if (cul==4) cout << "albastru";
if (cul==0) cout << "verde";
return 0;
}