#include<bits/stdc++.h>
using namespace std;
int main()
{
string s;cin>>s;
int xiaoshi,fenzhong;
xiaoshi=(s[0]-'0')*10+s[1]-'0';
fenzhong=(s[3]-'0')*10+s[4]-'0';
if(xiaoshi<12||(xiaoshi==12&&fenzhong==0))cout<<"Only "<<s<<". Too early to Dang.";
else
{ int t;
if(fenzhong==0)t=xiaoshi-12;
else t=xiaoshi-11;
for(int i=0;i<t;i++)
{
cout<<"Dang";
}
}
}
需要特判12:00