https://codeforces.com/problemset/problem/1669/A
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int val(int rating) {
if(rating >= 1900) {
return 1;
}
if(rating >= 1600 && rating <= 1899) {
return 2;
}
if(rating >= 1400 && rating <= 1599) {
return 3;
}
if(rating <= 1399) {
return 4;
}
}
int main() {
int t;
cin >> t;
for(int i = 0; i < t ; i++){
int rating;
cin >> rating;
cout << "Division " << val(rating) << endl;
}
}