#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; scanf("%d/%d/%d",&a,&b,&c); int d=a*10000+b*100+c; if(d<=20190430) { cout<<"Heisei"; } else { cout<<"TBD"; } }
Using your lizikid universal account