/** * author: TakeruOkuyama * created: 2020-04-09 13:18:37 **/ #include #define rep(i, n) for(int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair; int main(){ string S; cin >> S; rep(i, S.size()){ if(S[i] != 'A' && S[i] != 'C' && S[i] != ','){ cout << "Failed..." << endl; return 0; } } cout << "Done!" << endl; return 0;} /** **/