#include #include using namespace std; int main() { string s; cin >> s; for (int i = 0; i < s.size(); i++) { if (s[i] == 'L' || s[i] == 'W') { cout << "Failed..." << endl; return 0; } } cout << "Done!" << endl; }