#include<iostream>
using namespace std;
int main()
{
    int a,b;
    try
    {
        if(a<0 || b<0)
        {
            throw"Invalid inputs";
        }
        if(a>100 || b>100)
        {
            throw"Error:Insufficient Slots;
        }
        cout<<"Enrollment successful";
    }
    catch(const char*msg)
    {
        cout<<msg;
    }
}