// editor3
#include<iostream>
#include<exception>
using namespace std;
class ClassFullException:public exception
{
public:
const char* what() const throw()
{
    return "Error: Insufficient Slots";
}
};
int main()
{
    int avaibleSlots,studentsEnrolling;
    if(!(cin>>avaibleSlots>>studentsEnrolling))
    {
        return 0;
    }
    if(avaibleSlots<0||studentsEnrolling<0)
    {
        return 0;
    }
    try
    {
        if(studentsEnrolling<=avaibleSlots)
        {
            cout<<"Enrollment successful"<<endl;
        }
        else
        {
            throw class ClassFullException();
        }
    }
    catch(const class ClassFullException& e)
    {
        cout<<e.what()<<endl;
    }
    return 0;
}