#include<iostream>
using namespace std;

int main(){
    int creditScore,income;
    
    cin>>creditScore;
    cin>>income;
    
    try{
        if(creditScore<0||income<0)
        throw"Invalid input"
;

        if(creditScore<700)
        throw"Low credit score";
        
        if(income<3000)
        throw"Insufficient income";
        
        cout<<"Loan approved";
    }
    catch(const chat*msg){
        
    }
    return 0;
}