count = input() for i in range(int(count)): line = int(input()) if line >= 1900: div=1 elif line >= 1600: div=2 elif line >= 1400: div=3 else: div=4 print(f"Division {div}")