Decades have passed since the beginning of AtCoder Beginner Contest.
The contests are labeled as ABC001, ABC002, ... from the first round, but after the 999-th round ABC999, a problem occurred: how the future rounds should be labeled?
In the end, the labels for the rounds from the 1000-th to the 1998-th are decided: ABD001, ABD002, ..., ABD999.
You are given an integer N between 1 and 1998 (inclusive). Print the first three characters of the label of the N-th round of AtCoder Beginner Contest.

-----Constraints-----
 - 1 \leq N \leq 1998
 - N is an integer.

-----Input-----
Input is given from Standard Input in the following format:
N

-----Output-----
Print the first three characters of the label of the N-th round of AtCoder Beginner Contest.

-----Sample Input-----
999

-----Sample Output-----
ABC

The 999-th round of AtCoder Beginner Contest is labeled as ABC999.
[{"code": "a='ABD'\nif int(input())<1000:a='ABC'\nprint(a)", "passed": true, "time": 0.15, "memory": 14092.0, "status": "done"}, {"code": "n=int(input())\nif n>999:\n    print(\"ABD\")\nelse:\n    print(\"ABC\")", "passed": true, "time": 1.99, "memory": 14152.0, "status": "done"}, {"code": "if int(input())<=999:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.31, "memory": 14064.0, "status": "done"}, {"code": "N = int(input())\nprint('ABC' if N <= 999 else 'ABD')", "passed": true, "time": 0.34, "memory": 14336.0, "status": "done"}, {"code": "N = int(input())\nif 1 <= N <= 999:\n    print('ABC')\nelif 1000 <= N <= 1998:\n    print('ABD')\n", "passed": true, "time": 0.15, "memory": 14260.0, "status": "done"}, {"code": "print(\"ABC\" if int(input()) < 1000 else \"ABD\")", "passed": true, "time": 1.03, "memory": 14112.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")\n", "passed": true, "time": 0.28, "memory": 14292.0, "status": "done"}, {"code": "\nn=int(input())\nif n < 1000:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.23, "memory": 14332.0, "status": "done"}, {"code": "n = int(input())\n\nif n > 0 and n < 1000:\n    print('ABC')\nelif n >= 1000 and n <= 1998:\n    print('ABD')", "passed": true, "time": 1.02, "memory": 14208.0, "status": "done"}, {"code": "N = int(input())\n\nif N <= 999:\n    print('ABC')\nelif N >999:\n    print('ABD')\n", "passed": true, "time": 0.22, "memory": 14336.0, "status": "done"}, {"code": "n = int(input())\nprint('ABC' if n <= 999 else 'ABD')", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "n = int(input())\nprint(\"ABC\" if n<1000 else \"ABD\")", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "n=int(input())\n\nif n<=999:\n    print(\"ABC\")\n\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.17, "memory": 14136.0, "status": "done"}, {"code": "N = int(input())\n\nif 1 <= N <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.18, "memory": 14296.0, "status": "done"}, {"code": "n = int(input())\nif n<1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.15, "memory": 14244.0, "status": "done"}, {"code": "n = int(input())\n\nif n < 1000:\n    ans = 'ABC'\nelse:\n    ans = 'ABD'\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "N = int (input ())\n\nif N <= 999:\n    print (\"ABC\")\n\nelse:\n    print (\"ABD\")", "passed": true, "time": 0.16, "memory": 14336.0, "status": "done"}, {"code": "n=int(input())\n\nif n<=999:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.22, "memory": 14280.0, "status": "done"}, {"code": "print((['ABC','ABD'][len(input())  > 3]))\n", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "print([\"ABC\",\"ABD\"][int(input())//1000])", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "n=int(input())\nif n<=999:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "n=int(input())\nprint('ABC' if n<1000 else 'ABD')", "passed": true, "time": 0.17, "memory": 14224.0, "status": "done"}, {"code": "n=int(input())\nif n<=999:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.15, "memory": 14312.0, "status": "done"}, {"code": "number = int(input())\n\nanswer = ''\nif number < 1000:\n    answer = 'ABC'\nelse:\n    answer = 'ABD'\n\nprint(answer)", "passed": true, "time": 0.23, "memory": 14144.0, "status": "done"}, {"code": "n = int(input())\nif(n<=999):\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "n = int(input())\nif n <1000:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.13, "memory": 14336.0, "status": "done"}, {"code": "n = int(input())\nif(n < 1000): print('ABC')\nelse: print('ABD')", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "N = int(input())\n\nif N >= 1999: # \u4e0d\u7b49\u53f7\u306f=\u306e\u624b\u524d\u306b\n    print('The contest has not been held')\n\nelif N < 1000:\n    print('ABC')\n\nelif N >= 1000:\n    print('ABD')\n", "passed": true, "time": 0.15, "memory": 14024.0, "status": "done"}, {"code": "a = int(input())\nif a < 1000:\n  print('ABC')\nelse:\n  print('ABD')", "passed": true, "time": 0.14, "memory": 14364.0, "status": "done"}, {"code": "import sys\nimport math\n\n#https://atcoder.jp/contests/agc008/submissions/15248942\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninm = lambda: map(int, sys.stdin.readline().split())\ninl = lambda: list(inm())\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(\"\\033[33m\", *a, \"\\033[0m\", **dict(file=sys.stderr, **kw))\n\nN = ini()\n\nif N <= 999:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "N = int(input())\nprint(\"ABC\" if N<1000 else \"ABD\")", "passed": true, "time": 0.14, "memory": 14368.0, "status": "done"}, {"code": "\nN = int(input())\nif N >= 1000:\n    print(\"ABD\")\nelse:\n    print(\"ABC\")", "passed": true, "time": 0.2, "memory": 14372.0, "status": "done"}, {"code": "n = int(input())\nif n < 1000:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "n = int(input())\n\nif n <= 999:\n  print('ABC')\nelif n <= 1998:\n  print('ABD')", "passed": true, "time": 0.28, "memory": 14308.0, "status": "done"}, {"code": "N=int(input())\n\nif N<=999:\n  print('ABC')\nelse:\n  print('ABD')", "passed": true, "time": 0.23, "memory": 14140.0, "status": "done"}, {"code": "N = int(input())\n\nif N <= 999:\n    print(\"ABC\")\nelif N <= 1998:\n    print(\"ABD\")", "passed": true, "time": 0.16, "memory": 14348.0, "status": "done"}, {"code": "n = int(input())\n\n\nif n<=999 :\n    c = 'ABC'\nelse :\n    c = 'ABD'\n\nprint(c)\n", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "def main():\n    n = int(input())\n    print(\"ABC\" if n < 1000 else \"ABD\")\n\n\nmain()", "passed": true, "time": 0.36, "memory": 14096.0, "status": "done"}, {"code": "X = int(input())\n\nif X < 1000:\n  print('ABC')\nelse:\n  print('ABD')", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "n=int(input())\n\nif n<=999:\n    ans=\"ABC\"\nelse:\n    ans=\"ABD\"\nprint(ans)", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "# \u5165\u529b\nN = int(input())\n\n# \u51e6\u7406&\u51fa\u529b\nif N < 1000:\n    print('ABC')\nelif 1000 <= N <= 1998:\n    print('ABD')\nelse:\n    print('IDK')\n", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "moji = int(input())\nprint((\"ABC\",\"ABD\")[moji >=1000])", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "N = int(input())\n\nif 1 <= N < 1000:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.15, "memory": 14276.0, "status": "done"}, {"code": "N=int(input())\nif N<1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")\n", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "n = int(input())\nif 1 <= n and n <= 999:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "N = int(input())\n\nif N <= 999 :\n    print('ABC')\n\nelse:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "contest_num = int(input())\n\nif contest_num >= 1999:\n    result_str = 'The contest has not been held'\n\nelif contest_num < 1000:\n    result_str = 'ABC'\n\nelif contest_num >= 1000:\n    result_str = 'ABD'\n\nprint(result_str)\n\n", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "n = int(input())\nif n <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14148.0, "status": "done"}, {"code": "N = int (input())\n\nif N < 1000:\n    print('ABC')\nelif N >= 1000:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "n = int(input())\n\nif n >= 1000:\n    print('ABD')\nelse:\n    print('ABC')\n", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "N=int(input())\n\nif N<=999:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")\n\n\n", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "N = int(input(\"\"))\nif N <= 999:\n    print(\"ABC\")\nelif 1000 <= N <= 1998:\n    print(\"ABD\")\nelse:\n    print(\"error\")\n", "passed": true, "time": 0.49, "memory": 14332.0, "status": "done"}, {"code": "# 1000\u56de\u76ee\u304b\u30891998\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u3092\u9806\u306b ABD001,ABD002,...,ABD999\n\nN = int(input())\n\nif N < 1000:\n    print('ABC')\n\nelse :\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "N = int(input())\n\nprint('ABC') if N < 1000 else print('ABD')", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "n = int(input())\nprint(\"ABC\" if n <= 999 else \"ABD\")", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "# A - ABD\n\nN = int(input())\n\nif 1 <= N < 1000:\n    print('ABC')\nelif 1000<= N < 1999:\n    print('ABD')\nelif N <= 0 or 1999 <= N:\n    print('Out of range')", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "N = int(input())\nif N <= 999:\n    print('ABC')\nelse:\n    print('ABD')\n\n", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "n=int(input())\n\nif n<1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.31, "memory": 14144.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.23, "memory": 14312.0, "status": "done"}, {"code": "N = int(input())\nif N <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.15, "memory": 14156.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print('ABC')\n\nelse :\n    print('ABD')", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "contest_N = int(input())\n\nif contest_N >= 1000:\n    print('ABD')\nelse:\n    print('ABC')", "passed": true, "time": 0.19, "memory": 14296.0, "status": "done"}, {"code": "N = int(input())\nS = 'ABC'\nif 1000 <= N <= 1998:\n    S = 'ABD'\n\nprint(S)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "N = int(input())\nprint(\"ABC\") if N < 1000 else print(\"ABD\")\n", "passed": true, "time": 0.19, "memory": 14096.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "n = int(input())\nif 1 <= n and n <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "N = int(input())\nprint(\"ABC\" if N <= 999 else \"ABD\")", "passed": true, "time": 0.23, "memory": 14232.0, "status": "done"}, {"code": "n = int(input())\nif n > 999:\n  print(\"ABD\")\nelse:\n  print(\"ABC\")", "passed": true, "time": 0.15, "memory": 14364.0, "status": "done"}, {"code": "# N\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u540d\u524d\u306e\u6700\u521d\u306e\uff13\u6587\u5b57\u3092\u51fa\u529b\n\nN = int ( input ( ) )\n\nif 1 <= N <= 999:\n    print(\"ABC\")\nelif 1000 <= N <= 1998:\n    print(\"ABD\")\nelse:\n    print(\"\u5165\u529b\u30df\u30b9\")", "passed": true, "time": 0.2, "memory": 14352.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print(\"ABC\")\nif N > 999:\n    print(\"ABD\")", "passed": true, "time": 0.17, "memory": 14184.0, "status": "done"}, {"code": "n = int(input())\nif n<=999:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14140.0, "status": "done"}, {"code": "N = input()\nx = int(N)\n\nif x > 0 and x < 1000:\n    answer = 'ABC'\nelif x >= 1000 and x <= 1998:\n    answer = 'ABD'\n\nprint(answer)", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "N = int(input())\nif 1 <= N <= 999:\n    print(\"ABC\")\nelif 1000 <= N <= 1998:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "n=int(input())\nx=n-999 if n>999 else n\nif n>999:\n    print(\"ABD\")\nelse:\n    print(\"ABC\")", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "n = int(input())\n\nif n <= 999:\n    print(\"ABC\")\nelif n > 999:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "n=int(input())\nprint('ABC' if n <=999 else \"ABD\")", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "# ABD\n# AtCoder Beginner Contest\u304c\u59cb\u307e\u3063\u3066\u304b\u3089\u65e9\u6570\u5341\u5e74\u3002\n# \u30b3\u30f3\u30c6\u30b9\u30c8\u306f1\u56de\u76ee\u304b\u3089\u9806\u306b ABC001,ABC002,...,\u3068\u540d\u4ed8\u3051\u3089\u308c\u3066\u304d\u307e\u3057\u305f\u304c\u3001 999\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8 ABC999 \u3092\u7d42\u3048\u3001\n# \u3053\u308c\u304b\u3089\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u540d\u524d\u3092\u3069\u3046\u3059\u308b\u304b\u3068\u3044\u3046\u554f\u984c\u304c\u751f\u3058\u307e\u3057\u305f\u3002\n# \u305d\u3053\u3067\u30011000\u56de\u76ee\u304b\u30891998\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u3092\u9806\u306b ABD001,ABD002,...,ABD999 \u3068\u540d\u4ed8\u3051\u308b\u3053\u3068\u3068\u306a\u308a\u307e\u3057\u305f\u3002\n# 1\u4ee5\u4e0a1998\u4ee5\u4e0b\u306e\u6574\u6570N\u304c\u4e0e\u3048\u3089\u308c\u308b\u306e\u3067\u3001N\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u540d\u524d\u306e\u6700\u521d\u306e3\u6587\u5b57\u3092\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n# 1 < N < 1998\n# N\u306f\u6574\u6570\n\nN = int(input())\n\n# N\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u6700\u521d\u306e\u4e09\u6587\u5b57\u3092\u51fa\u529b\u305b\u3088\u3002\n\nif 1<= N <= 999:\n    print(\"ABC\")\nelif 1000 <= N <= 1998:\n    print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "if int(input()) < 1000:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "#099A\n\n#1.\u5165\u529b\u3092\u3061\u3083\u3093\u3068\u53d7\u3051\u53d6\u308b\u3053\u3068\nx=input()\ni=int(x)\n#2.\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b\n\nif i<1000 :\n    print('ABC')\nelif i<=1998:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "if int(input()) < 1000:\n  print(\"ABC\")\nelse:\n  print(\"ABD\")", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "a = int(input())\nif a >= 1000:\n  print(\"ABD\")\nelse:\n  print(\"ABC\")\n\n\n", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "N = int(input())\n\nif N <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "# 1 <= N <= 1998\nN = int(input())\n\nif N <= 999:\n    print(\"ABC\")\nelif 1000 <= N <=1998:\n    print(\"ABD\")\n", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "n = int(input())\nif n <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.23, "memory": 14252.0, "status": "done"}, {"code": "N = int(input())\n\nif N >= 1000:\n    print(\"ABD\")\nif N < 1000:\n    print(\"ABC\")\n", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "N=int(input())\nif N<1000:\n    print(\"ABC\")\nelse:\n    print(\"ABD\")", "passed": true, "time": 0.23, "memory": 14248.0, "status": "done"}, {"code": "n=int(input())\nif n>=1000:\n  print('ABD')\nelse:\n  print('ABC')", "passed": true, "time": 0.14, "memory": 14344.0, "status": "done"}, {"code": "N = int(input())\n\nif N <= 999:\n    print('ABC')\nelse:\n    print('ABD')\n", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "# 099A\n\n# N\u56de\u76ee(\u6570\u5024\uff09\uff1a\u6a19\u6e96\u5165\u529b\nN = int(input())\n\n# 1~999\u56de\u76ee\uff1aABC001~ABC999\n# 1000~1998\u56de\u76ee\uff1aABD001~ABD999\n# N\u56de\u76ee\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u540d\u524d\u306e\u6700\u521d\u306e3\u6587\u5b57\u3092\u51fa\u529b\n\nif N < 1000:\n    print('ABC')\nelif 1000 <= N <= 1998:\n    print('ABD')", "passed": true, "time": 0.15, "memory": 14296.0, "status": "done"}, {"code": "n=int(input())\nprint(\"ABC\" if n<1000 else \"ABD\")", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "if int(input()) <= 999:\n   print('ABC')\nelse:\n   print('ABD')", "passed": true, "time": 0.15, "memory": 14156.0, "status": "done"}, {"code": "integer = int(input())\n\nif integer <= 999:\n    print('ABC')\nelse:\n    print('ABD')", "passed": true, "time": 0.14, "memory": 14368.0, "status": "done"}, {"code": "n=int(input())\nif n>=1000:\n  print(\"ABD\")\nelse:\n  print(\"ABC\")", "passed": true, "time": 0.14, "memory": 14148.0, "status": "done"}, {"code": "n = int(input())\nif len(str(n)) == 4:\n    print(\"ABD\")\nelse:\n    print(\"ABC\")", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "N = contest_numer =int(input())\nif contest_numer > 999 and 1998 >= contest_numer:\n    print(\"ABD\")\n\nelif contest_numer > 0 and 999 >= contest_numer:\n    print(\"ABC\")\n\nelse:\n    print(\"contest that you inputted now has not been held\")", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "N = input()\nx = int(N)\n\nif x > 0 and x < 1000:\n    answer = 'ABC'\nelif x >= 1000 and x <= 1998:\n    answer = 'ABD'\n\nprint(answer)", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "N = int(input())\n\nif N < 1000:\n    print('ABC')\nelse:\n    print('ABD')\n", "passed": true, "time": 0.14, "memory": 14116.0, "status": "done"}]