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