#include using namespace std; int main() { string s; cin >> s; if (s.find("AC") == string::npos) { cout << "Done!" << endl; return 0; } if (s.find("WA") != string::npos or s.find("TLE") != string::npos or s.find("MLE") != string::npos) { cout << "Failed..." << endl; return 0; } cout << "Done!" << endl; return 0; }