#include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); string s; cin >> s; int n = s.size(); string t = "AC"; for (int _ = 0; _ < n / 3; ++_) { t += ",AC"; } if (s == t) { cout << "Done!\n"; } else { cout << "Failed...\n"; } }