#include <iostream>
using namespace std;

int main() {
    try{
        int age = 20;
        if(age<18){
            throw ArunException("Not valid");
        }
        cout<<age+10;
    }
    catch(ArunException e){
        cout<<e.what();
    }
    return 0;
}