よじろめ覚書

私の理解度重視のソースコードです。

ABC099 - ABD

問題:A - ABD

#include <iostream>
using namespace std;

int main(void){
    int n;

    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> n;
    cout << (n <= 999? "ABC" : "ABD") << "\n";
    return 0;
}