#include <stdio.h>
#include <string.h>
int main() {
char s[105];
int freq[26] = {0};
scanf("%s", s);
for (int i = 0; i < strlen(s); i++) {
freq[s[i] - 'a']++;
}
if (freq['l' - 'a'] >= 2 && freq['e' - 'a'] >= 2 && freq['a' - 'a'] >= 1 &&
freq['d' - 'a'] >= 1 && freq['i' - 'a'] >= 2 && freq['n' - 'a'] >= 2 &&
freq['g' - 'a'] >= 1 && freq['u' - 'a'] >= 1 && freq['v' - 'a'] >= 1 &&
freq['r' - 'a'] >= 1 && freq['s' - 'a'] >= 1 && freq['t' - 'a'] >= 1 &&
freq['y' - 'a'] >= 1) {
printf("Leading University\n");
} else {
printf("Impossible\n");
}
return 0;
}