#include<iostream>
using namespace std;
class fullexception{};
int main()
{
    int availableslots,students;
    cini>>availabelsloats<0||students<0
    {
        cout<<"Invalid input";
        return 0;
        
    }
    try
    {
        if(students>availabelslots)
        {
            throw fullexcerption();
            
        }
        cout<<"Enrollement successful";
    }
    catch(fullexcerption)
    {
        cout<<|"Error: Insufficient slots";
    }
    return 0;
}