100 atcoder#ABC099A. [ABC099A] ABD

[ABC099A] ABD

Score : 100100 points

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 999999-th round ABC999, a problem occurred: how the future rounds should be labeled?

In the end, the labels for the rounds from the 10001000-th to the 19981998-th are decided: ABD001, ABD002, ......, ABD999.

You are given an integer NN between 11 and 19981998 (inclusive). Print the first three characters of the label of the NN-th round of AtCoder Beginner Contest.

Constraints

  • 1N19981 \leq N \leq 1998
  • NN is an integer.

Input

Input is given from Standard Input in the following format:

NN

Output

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

999
ABC

The 999999-th round of AtCoder Beginner Contest is labeled as ABC999.

1000
ABD

The 10001000-th round of AtCoder Beginner Contest is labeled as ABD001.

1481
ABD

The 14811481-th round of AtCoder Beginner Contest is labeled as ABD482.