import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    } main {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD") System.out.println System.out System System.out sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD" sc.next().compareTo("2019/04/30") <= 0 sc.next().compareTo("2019/04/30") sc.next().compareTo sc.next() sc.next sc "2019/04/30" 0 "Heisei" "TBD" String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(sc.next().compareTo("2019/04/30") <= 0 ? "Heisei" : "TBD");
    }
}