// #include <iostream>
// using namespace std;

// int main() {
//     int a, b;

//     string str_user;
//     string str_pswd;

//     cin>>str_user;
//     cin>>str_pswd;


//     if(str_user == "admin" && str_pswd == "admin"){
//         cout<<"Login Success!"<<endl;
//     }else{
//         cout<<"Login Fail!"<<endl;
//     }




//     return 0;
// }
// // 64 位输出请用 printf("%lld")


// ps:
// #include <iostream>
// using namespace std;

// int main() {

//     string str_user_pswd;

//     getline(cin, str_user_pswd);






//     if(str_user_pswd == "admin admin"){
//         cout<<"Login Success!"<<endl;
//     }else{
//         cout<<"Login Fail!"<<endl;
//     }


//     return 0;
// }
// // 64 位输出请用 printf("%lld")






// ps2:
#include <iostream>
using namespace std;

int main() {

    string str_user_pswd;

    getline(cin, str_user_pswd);

    string pswd = str_user_pswd.substr( str_user_pswd.find(' ')+1, str_user_pswd.size()-str_user_pswd.find(' '));


    if(str_user_pswd == "admin admin" && pswd == "admin" ){
        cout<<"Login Success!"<<endl;
    }else{
        cout<<"Login Fail!"<<endl;
    }


    return 0;
}
// 64 位输出请用 printf("%lld")