101190: [AtCoder]ABC119 A - Still TBD

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

Problem Statement

You are given a string $S$ as input. This represents a valid date in the year $2019$ in the yyyy/mm/dd format. (For example, April $30$, $2019$ is represented as 2019/04/30.)

Write a program that prints Heisei if the date represented by $S$ is not later than April $30$, $2019$, and prints TBD otherwise.

Constraints

  • $S$ is a string that represents a valid date in the year $2019$ in the yyyy/mm/dd format.

Input

Input is given from Standard Input in the following format:

$S$

Output

Print Heisei if the date represented by $S$ is not later than April $30$, $2019$, and print TBD otherwise.


Sample Input 1

2019/04/30

Sample Output 1

Heisei

Sample Input 2

2019/11/01

Sample Output 2

TBD

Input

题意翻译

给定一个字符串 $S$,该日期以 `yyyy/mm/dd` 格式表示 $2019$ 年的有效日期。(例如,2019 年 4 月 30 日表示为 `2019/04/30`。) 如果由 $S$ 表示的日期不迟于 2019 年 4 月 30 日,则编写一个打印 `Heisei` 的程序,否则打印 `TBD`。

加入题单

算法标签: