{"raw_statement":[{"iden":"problem statement","content":"Decades have passed since the beginning of AtCoder Beginner Contest.\nThe 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?\nIn the end, the labels for the rounds from the $1000$\\-th to the $1998$\\-th are decided: `ABD001`, `ABD002`, $...$, `ABD999`.\nYou 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."},{"iden":"constraints","content":"*   $1 \\leq N \\leq 1998$\n*   $N$ is an integer."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"999"},{"iden":"sample output 1","content":"ABC\n\nThe $999$\\-th round of AtCoder Beginner Contest is labeled as `ABC999`."},{"iden":"sample input 2","content":"1000"},{"iden":"sample output 2","content":"ABD\n\nThe $1000$\\-th round of AtCoder Beginner Contest is labeled as `ABD001`."},{"iden":"sample input 3","content":"1481"},{"iden":"sample output 3","content":"ABD\n\nThe $1481$\\-th round of AtCoder Beginner Contest is labeled as `ABD482`."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}