#include <iostream>
#include <string>
#include <unordered_map>
using namespace std;
int main() {
string s;
cin >> s;
unordered_map<char, int> main;
for (char c : s) {
main[c]++;
}
if (main['l'] >= 2 && main['e'] >= 2 && main['a'] >= 1 &&
main['d'] >= 1 && main['i'] >= 2 && main['n'] >= 2 &&
main['g'] >= 1 && main['u'] >= 1 && main['v'] >= 1 &&
main['r'] >= 1 && main['s'] >= 1 && main['t'] >= 1 &&
main['y'] >= 1) {
cout << "Leading University" << endl;
}
else {
cout << "Impossible" << endl;
}
return 0;
}