⌨️

[AtCoder]ABC-099|A - ABD

2023/01/21に公開

設問ページ

提出結果

def getInt():
    return int(input())


def main():
    n = getInt()

    print('ABD' if n // 1000 == 1 else 'ABC')


if __name__ == "__main__":
    main()

Discussion