#include <iostream>
#include <cmath> ///mathematics
#include <vector> ///array
#include <regex> ///searching_prefix_suffix
#include <algorithm> ///finding_max_min_from_array
#include <string> ///string_manipulation
#include <numeric> ///findin total sum of an array
using namespace std;
int main() {
string ch="leadinguniversity";
string s;
int count=0;
cin >> s;
for(int i:s){
if(i=='l'&& i=='e'&& i=='a'&& i=='d'&& i=='i'&& i=='n'&& i=='g'&& i=='u'&& i=='v'&& i=='s'&& i=='t'&&i=='y'&& i=='r'){
if(s.length()==17){
count++;
}
}
else{
count=0;
}
}
if(count>0){
cout << "Leading University";
}
else{
cout << "Impossible";
}
return 0;
}