#include <iostream>
using namespace std;
int main() {
int t=0;
(-5000<=t<=5000);
cin>>t;
while(t--)
if(t>=1900)
cout<<"Division 1"<< endl;
else if (t>=1600)
cout<<"Division 2"<< endl ;
else if(t>=1400)
cout<<"Division 3"<< endl;
else
cout<<"Division 4"<< endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCB0PTA7IAooLTUwMDA8PXQ8PTUwMDApOyAKY2luPj50Owp3aGlsZSh0LS0pCmlmKHQ+PTE5MDApCmNvdXQ8PCJEaXZpc2lvbiAxIjw8IGVuZGw7CmVsc2UgaWYgKHQ+PTE2MDApIApjb3V0PDwiRGl2aXNpb24gMiI8PCBlbmRsIDsKZWxzZSBpZih0Pj0xNDAwKSAKY291dDw8IkRpdmlzaW9uIDMiPDwgZW5kbDsKZWxzZSAKY291dDw8IkRpdmlzaW9uIDQiPDwgZW5kbDsKCXJldHVybiAwOwp9