#include <bits/stdc++.h>
using namespace std;
int main()
{
int h,m;
scanf("%d:%d",&h,&m);
int count=h-12;
if(m) count++;
if(count<=0) printf("Only %02d:%02d. Too early to Dang.",h,m);
else for(int i=0;i<count;i++) cout<<"Dang";
return 0;
}