#abc099a. [abc099_a]ABD
[abc099_a]ABD
Problem Statement
Decades have passed since the beginning of AtCoder Beginner Contest.
The contests are labeled as ABC001
, ABC002
, from the first round, but after the -th round ABC999
, a problem occurred: how the future rounds should be labeled?
In the end, the labels for the rounds from the -th to the -th are decided: ABD001
, ABD002
, , ABD999
.
You are given an integer between and (inclusive). Print the first three characters of the label of the -th round of AtCoder Beginner Contest.
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the first three characters of the label of the -th round of AtCoder Beginner Contest.
Sample Input 1
999
Sample Output 1
ABC
The -th round of AtCoder Beginner Contest is labeled as ABC999
.
Sample Input 2
1000
Sample Output 2
ABD
The -th round of AtCoder Beginner Contest is labeled as ABD001
.
Sample Input 3
1481
Sample Output 3
ABD
The -th round of AtCoder Beginner Contest is labeled as ABD482
.