#include<iostream>
using namespace std;
int main(){
    int cs,i;
    cin>>cs;
    cin>>i;
    try{
    if(cs>700&&i>30000 ){
        throw<<"Loan approved";
    }
    else if(i<30000 && i>0){
        throw<<"Insufficient income";
    }
    else if(cs<700 && cs>0){
        throw<<"Low credit score ";
    }
    else if(cs<0 || i<0){
       throw<<"Invalid input";
   }}
   catch(const char a){
       cout<<a;
   }
    
}