{"problem":{"name":"ABD","description":{"content":"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 occur","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc099_a"},"statements":[{"statement_type":"Markdown","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.\n\n## Constraints\n\n*   $1 \\leq N \\leq 1998$\n*   $N$ is an integer.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc099_a","tags":[],"sample_group":[["999","ABC\n\nThe $999$\\-th round of AtCoder Beginner Contest is labeled as `ABC999`."],["1000","ABD\n\nThe $1000$\\-th round of AtCoder Beginner Contest is labeled as `ABD001`."],["1481","ABD\n\nThe $1481$\\-th round of AtCoder Beginner Contest is labeled as `ABD482`."]],"created_at":"2026-03-03 11:01:14"}}