#include<iostream>
using namespace std:
int main(){
    int creditScore;
    int income;
    if(!(cin>>creditScore>>income)){
        return 0;
    }
    if(creditScore<0||income<0){
        cout<<"Invalid input"<<endl;
    }
    else if(creditScore<700){
        cout<<"Low credit score"<<endl;
    }
    else if(income<30000){
        cout<<"Insufficient income"<<endl;
    }
    else{
        cout<<"Loan approved"<<endl;
    }
    return 0;
}