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-----
2019/04/30

-----Sample Output-----
Heisei

[{"code": "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n    S = readline().strip()\n\n    y, m, d = list(map(int, S.split('/')))\n    if m <= 4:\n        print('Heisei')\n    elif m > 4:\n        print('TBD')\n\n    return\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14052.0, "status": "done"}, {"code": "from datetime import datetime\n\nS = input()\nheiei = datetime(2019, 4, 30)\ndate = datetime.strptime(S, '%Y/%m/%d')\n\nif heiei >= date:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.18, "memory": 16588.0, "status": "done"}, {"code": "y, m, d = map(int,input().split('/'))\nif y>2019:\n    print('TBD')\nelif y==2019 and m>4:\n    print('TBD')\nelif m==4 and d==31:\n    print('TBD')\nelse:\n    print('Heisei')", "passed": true, "time": 0.15, "memory": 14096.0, "status": "done"}, {"code": "# import numpy as np\n# import math\n\n# from scipy.special import perm : perm(n, r, exact=True)\n# from scipy.special import comb : comb(n, r, exact=True)\n\n# import itertools\n# for v in itertools.combinations(L, n):M.append(list(v))\n\n# from numba import njit\n# @njit('f8(i8,i8,i8,i8,f8[:,:,:])', cache=True)\n\n\n\"\"\" Definitions  \"\"\"\n\ndef lcm(a, b):\n    return a*b//math.gcd(a, b)\n\nMOD = 10**9+7\n\n# ============================================================\n\ny, m, d = list(map(int, input().split(\"/\")))\n\nif y < 2019 or (y == 2019 and m <= 4):\n    print('Heisei')\nelse:\n    print('TBD')\n", "passed": true, "time": 0.26, "memory": 14332.0, "status": "done"}, {"code": "list01 = input().split('/')\nif int(list01[1]) <= 4:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.25, "memory": 14128.0, "status": "done"}, {"code": "import bisect, collections, copy, heapq, itertools, math, string, sys\ninput = lambda: sys.stdin.readline().rstrip() \nsys.setrecursionlimit(10**7)\nINF = float('inf')\ndef I(): return int(input())\ndef F(): return float(input())\ndef SS(): return input()\ndef LI(): return [int(x) for x in input().split()]\ndef LI_(): return [int(x)-1 for x in input().split()]\ndef LF(): return [float(x) for x in input().split()]\ndef LSS(): return input().split()\n\ndef resolve():\n    S = SS()\n\n    y, m, d = S.split('/')\n    n = int(y + m + d)\n\n    if n <= 20190430:\n        print('Heisei')\n    else:\n        print('TBD')\n\ndef __starting_point():\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.15, "memory": 14148.0, "status": "done"}, {"code": "S = input()\n\nm = int(S[5:7])\nif m >= 5: print('TBD')\nelse: print('Heisei')", "passed": true, "time": 0.23, "memory": 14124.0, "status": "done"}, {"code": "s = input()\nprint(\"Heisei\" if s<=\"2019/04/30\" else \"TBD\")", "passed": true, "time": 0.21, "memory": 14268.0, "status": "done"}, {"code": "S = input()\nprint('Heisei' if S <= '2019/04/30' else 'TBD')", "passed": true, "time": 0.25, "memory": 14164.0, "status": "done"}, {"code": "s=input()\ns=int(s[5:7])\nif s<=4:print('Heisei')\nelse:print('TBD')", "passed": true, "time": 0.16, "memory": 14212.0, "status": "done"}, {"code": "y, m, d = map(int, input().split('/'))\n \nif m >= 5: print('TBD')\nelse: print('Heisei')", "passed": true, "time": 0.16, "memory": 14096.0, "status": "done"}, {"code": "# ABC119\nS = input()\nif int(S[0:4]) > 2019:\n    print('TBD')\n    return\nelif int(S[0:4]) == 2019:\n    if int(S[5:7]) >= 5:\n        print('TBD')\n        return\nprint('Heisei')\n", "passed": true, "time": 0.15, "memory": 14128.0, "status": "done"}, {"code": "s=int(input().replace(\"/\",\"\"))\nprint(\"Heisei\" if s<=20190430 else \"TBD\")", "passed": true, "time": 0.25, "memory": 14216.0, "status": "done"}, {"code": "s = input()\nif int(s[5]) == 1:\n  print(\"TBD\")\nelif int(s[6]) <= 4:\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.15, "memory": 14084.0, "status": "done"}, {"code": "def mapt(fn, *args):\n    return tuple(map(fn, *args))\n\n\ndef main():\n    s = mapt(int, input().split(\"/\"))\n    print(\"Heisei\" if s <= (2019, 4, 30) else \"TBD\")\n\nmain()", "passed": true, "time": 0.17, "memory": 14204.0, "status": "done"}, {"code": "print([\"Heisei\",\"TBD\"][input()[5:7]>\"04\"])", "passed": true, "time": 0.17, "memory": 14116.0, "status": "done"}, {"code": "S = input()\nif int(S[5:7]) <=4:\n    print('Heisei')\nelse:\n    print('TBD')\n", "passed": true, "time": 0.15, "memory": 14088.0, "status": "done"}, {"code": "# split()\u3092\u30de\u30b9\u30bf\u30fc\u305b\u3088\uff01\ny, m, d = map(int, input().split('/'))\n \nif m >= 5: print('TBD')\nelse: print('Heisei')", "passed": true, "time": 0.21, "memory": 14264.0, "status": "done"}, {"code": "y, m, d = map(int, input().split(\"/\"))\nprint(\"TBD\" if m >= 5 else \"Heisei\")", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "def readinput():\n    s=input()\n    return s\n\ndef main(s):\n    y=int(s[:4])\n    m=int(s[5:7])\n    d=int(s[9:])\n    if m<=4:\n        return 'Heisei'\n    else:\n        return 'TBD'\n\ndef __starting_point():\n    s=readinput()\n    ans=main(s)\n    print(ans)\n\n__starting_point()", "passed": true, "time": 0.19, "memory": 14104.0, "status": "done"}, {"code": "S = input()\nif S <= '2019/04/30':\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n    S = readline().strip()\n\n    if S <= '2019/04/30':\n        print('Heisei')\n    else:\n        print('TBD')\n\n    return\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.16, "memory": 14152.0, "status": "done"}, {"code": "a=input()\nif a[5]==\"1\":\n  print(\"TBD\")\nelif int(a[6])>4:\n  print(\"TBD\")\nelse:\n  print(\"Heisei\")", "passed": true, "time": 0.19, "memory": 14200.0, "status": "done"}, {"code": "s = input()\n\nif int(s[:4]) < 2019:\n    print(\"Heisei\")\nelif int(s[:4]) > 2019:\n    print(\"TBD\")\nelse:\n    if int(s[5:7]) <= 4:\n        print(\"Heisei\")\n    elif int(s[5:7]) > 4:\n        print(\"TBD\")", "passed": true, "time": 0.16, "memory": 14320.0, "status": "done"}, {"code": "s = input()\nif s[5:7] == '04' or s[5:7] == '03' or s[5:7] == '02' or s[5:7] == '01':\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "S = input()\n\nprint(\"Heisei\" if S <= \"2019/04/30\" else \"TBD\")", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "S = input()\n\nif S <= '2019/04/30':\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "a=input()\nif int(a[5]+a[6])>4:\n  print(\"TBD\")\nelse:\n  print(\"Heisei\")", "passed": true, "time": 0.14, "memory": 14140.0, "status": "done"}, {"code": "_, m, d = map(int, input().split('/'))\n\nif m < 4:\n  print('Heisei')\nelse:\n  if m == 4 and d < 31:\n    print('Heisei')\n  else:\n    print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14348.0, "status": "done"}, {"code": "S = input()\nS = S.replace(\"/\",\"\")\nint_S = int(S)\nprint(\"Heisei\" if int_S <= 20190430 else \"TBD\")", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "y, m, d = map(int, input().split('/'))\nif y < 2019 or (y == 2019 and m < 4) or (y == 2019 and m == 4 and d <= 30):\n\tprint('Heisei')\nelse:\n\tprint('TBD')", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "Y, M, D = input().split(\"/\")\n\nS = int(Y+M+D)\n\nif S <= 20190430:\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "s=[int(i) for i in input().split(\"/\")]\n#print(s)\n\nans=\"TBD\"\n\nif s[0]<=2018:\n    ans=\"Heisei\"\n    \nelif s[0]==2019 and s[1]<=4:\n    ans=\"Heisei\"\n    \nprint(ans)", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "s=input()\nif int(s[0:4])<2019:\n    print(\"Heisei\")\nelif int(s[0:4])>2019:\n    print(\"TBD\")\nelse:\n    if int(s[5])==1 or int(s[6])>4:\n        print(\"TBD\")\n    elif int(s[6])<=4:\n        print(\"Heisei\")", "passed": true, "time": 0.15, "memory": 14132.0, "status": "done"}, {"code": "#ABC119A\ns = input()\nprint(\"Heisei\" if s <= \"2019/04/30\" else \"TBD\")", "passed": true, "time": 0.17, "memory": 14284.0, "status": "done"}, {"code": "a =input()\n\nb = a[0:4]+a[5:7]+a[8:10]\n\nif int(b) <=20190430:\n    print(\"Heisei\")\n\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.21, "memory": 14120.0, "status": "done"}, {"code": "y, m, d = input().split('/')\nt = int(y + m + d)\nif t <= 20190430:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.29, "memory": 14164.0, "status": "done"}, {"code": "s = \"\".join(input().split(\"/\"))\nprint(\"Heisei\" if s <= \"20190430\" else \"TBD\")", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "y,m,d = map(int,input().split('/'))\n\nif(y < 2019):\n\n    print('Heisei')\n\nelif(y==2019):\n\n    if(m < 5):\n        print('Heisei')\n    else:\n        print('TBD')\n    \nelse:\n    \n    print('TBD')", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "from datetime import datetime\nS = input()\ns = datetime.strptime(S, '%Y/%m/%d')\nstr_std = '2019/04/30'\nstd = datetime.strptime(str_std, '%Y/%m/%d')\nif s <= std:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.21, "memory": 16424.0, "status": "done"}, {"code": "a,b,c=input().split(\"/\")\nif int(a) <= 2019:\n    if int(b) <= 4:\n        if int(c) <= 30:\n            print(\"Heisei\")\n        else:\n            print(\"TBD\")\n    else:\n        print(\"TBD\")\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.19, "memory": 14276.0, "status": "done"}, {"code": "S = input()\ny = int(S[:4])\nm = int(S[5:7])\nd = int(S[8:])\nif y < 2019:\n    print(\"Heisei\")\nelif y == 2019 and m < 4:\n    print(\"Heisei\")\nelif y == 2019 and m == 4 and d <= 30:\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "S=input()\nm=int(S[5:7])\nd=int(S[8:10])\nif m<4:\n  print('Heisei')\nelif m==4:\n  if d==31:\n    print('TBD')\n  else:\n    print('Heisei')\nelse:\n  print('TBD')", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "s = input()\nif int(s[5]) == 1:\n    print(\"TBD\")\nelse:\n    if int(s[6])<5:\n        print(\"Heisei\")\n    else:\n        print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "s = str(input())\nif int(s[0:4]) < 2019:\n  print(\"Heisei\")\nelif int(s[0:4]) < 2020 and int(s[5:7]) <= 4:\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.2, "memory": 14196.0, "status": "done"}, {"code": "S=input()\nl=S.split('/')\nif int(l[0])<=2019:\n    if int(l[1])<=4:\n        if int(l[2])<=30:\n            print('Heisei')\n            return\n    print('TBD')", "passed": true, "time": 0.2, "memory": 14336.0, "status": "done"}, {"code": "a,b,c=map(int,input().split(\"/\"))\nif a>2019:print(\"TBD\")\nelif a<2019:print(\"Heisei\")\nelif b<=4:print(\"Heisei\")\nelse:print(\"TBD\")", "passed": true, "time": 0.15, "memory": 14196.0, "status": "done"}, {"code": "date = input()\nlist_date = date.split('/')\nif int(list_date[0]) <= 2018:\n    print('Heisei')\nelif int(list_date[0]) <= 2019 and int(list_date[1]) <= 4:\n    print('Heisei')\nelse:\n    print('TBD')\n", "passed": true, "time": 0.17, "memory": 14204.0, "status": "done"}, {"code": "s=input()\nif s<=\"2019/04/30\":\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "y,m,d = map(int,input().split('/'))\nif m <= 4:\n    ans = 'Heisei'\nelif m > 4:\n    ans = 'TBD'\nprint(ans)", "passed": true, "time": 0.14, "memory": 14012.0, "status": "done"}, {"code": "a = input()\nif int(a[5]) == 1:\n  print('TBD')\nelse:\n  if int(a[6]) > 4:\n    print('TBD')\n  else:\n    print('Heisei')", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "y,m,d=map(int,input().split('/'))\nif m<=4:\n  print('Heisei')\nelse:\n  print('TBD')", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "y,m,d = list(map(str,input().split('/')))\nif 20190430>=int(y+m+d):\n    print('Heisei')\nelse:\n    print('TBD')\n", "passed": true, "time": 0.14, "memory": 14028.0, "status": "done"}, {"code": "S = str(input())\n\nif S[5:7]=='01' or S[5:7]=='02' or S[5:7]=='03' or S[5:7]=='04':\n  print('Heisei')\nelse:\n  print('TBD')", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "S = input()\nif int(S[5:7]) <= 4:\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")\n", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "a = input()\n\ny = int(a[0:4])\nm = int(a[5:7])\n\nif y<2019:\n  print(\"Heisei\")\nelif y==2019 and m<=4:\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "# n=int(input())\n# a,b=map(int,input().split())\n# l=list(map(int,input().split()))\n#l=[list(map(int,input().split())) for i in range(n)]\ns = input()\n\nmonth = int(s[5:7])\nif month < 4:\n    ans = 'Heisei'\nelif month == 4:\n    day = int(s[8:])\n    if day <= 30:\n        ans = 'Heisei'\nelse:\n    ans = 'TBD'\nprint(ans)\n", "passed": true, "time": 0.17, "memory": 14204.0, "status": "done"}, {"code": "a = input()\na = a.replace(\"/\",\"\")\nif int(a) <= 20190430:\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "print('Heisei' if int(input()[5:7]) <= 4 else 'TBD')", "passed": true, "time": 0.22, "memory": 14056.0, "status": "done"}, {"code": "s=input()\ns=int(s.replace(\"/\",\"\"))\nprint(\"Heisei\" if s<=20190430 else \"TBD\")", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "y,m,d=map(int,input().split(\"/\"))\nif m<=4 and d<=31:\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14140.0, "status": "done"}, {"code": "s = input()\ns = int(s.replace('/', ''))\nif 20190430 >= s:\n    print('Heisei')\nelse:\n    print('TBD')\n", "passed": true, "time": 0.15, "memory": 14200.0, "status": "done"}, {"code": "S = input()\n\nprint(('Heisei' if S <= '2019/04/30' else 'TBD'))\n", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "# coding: utf-8\nimport math\n\nstr = input()\nif str <= \"2019/04/30\":\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")\n\n", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "S = list(input())\ny = 1000*int(S[0])+100*int(S[1])+10*int(S[2])+int(S[3])\nm = 10*int(S[5])+int(S[6])\nd = 10*int(S[8])+int(S[9])\n\nif y < 2019 :\n    print(\"Heisei\")\nelif y == 2019 and m <= 4 :\n    print(\"Heisei\")\nelse :\n    print(\"TBD\")\n", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "a,b,c = map (int, input ().split ('/'))\nif a > 2019:\n  print ('TBD')\nelse:\n  if b*100+c > 430:\n    print ('TBD')\n  else:\n    print ('Heisei')", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "y,m,d = input().split('/')\nif int(m) > 4:\n  print(\"TBD\")\nelse:\n  print(\"Heisei\")", "passed": true, "time": 0.14, "memory": 14360.0, "status": "done"}, {"code": "s = [int(x) for x in input().split(\"/\")]\n \nif s[1] < 4:\n  print(\"Heisei\")\nelif s[1] == 4 and s[2] <= 30:\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "import datetime\n\ns=input()\n\ns_date = datetime.datetime.strptime(s, '%Y/%m/%d')\n\nlast_date = '2019/05/01'\n\nt_date = datetime.datetime.strptime(last_date, '%Y/%m/%d')\n\nif s_date < t_date:\n    print('Heisei')\n\nelse:\n    print('TBD')", "passed": true, "time": 0.17, "memory": 16532.0, "status": "done"}, {"code": "S = input()\n\n# \u8f9e\u66f8\u5f0f\u306e\u9806\u5e8f\u3067\u6bd4\u8f03\nif S <= '2019/04/30': print('Heisei')\nelse: print('TBD')\n", "passed": true, "time": 0.22, "memory": 14272.0, "status": "done"}, {"code": "S=input()\n\nyear=S[:4]\nmonth=S[5:7]\nday=S[8:10]\n\nif int(year)<2019:\n\tprint(\"Heisei\")\nelse:\n\tif int(year)==2019 and int(month)<5 and int(day)<=30:\n\t\tprint(\"Heisei\")\n\telse:\n\t\tprint(\"TBD\")", "passed": true, "time": 0.15, "memory": 14304.0, "status": "done"}, {"code": "s = input()\n\nyear = int(s[:4])\nmo = int(s[5:7])\n\nif year < 2019:\n  ans = \"Heisei\"\nelif year == 2019 and mo<= 4:\n  ans ='Heisei'\nelse:\n  ans = 'TBD'\nprint(ans)", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "S = input()\ny,m,d = S.split(\"/\")\ny,m,d = int(y),int(m),int(d)\n\nif y == 2019:\n  if m <= 4:\n    if d <= 30:\n      ans = \"Heisei\"\n    else:\n      ans = \"TBD\"\n  else:\n    ans = \"TBD\"\nelif y < 2019:\n  ans = \"Heisei\"\nelse:\n  ans = \"TBD\"\n  \nprint(ans)", "passed": true, "time": 0.14, "memory": 14368.0, "status": "done"}, {"code": "print(['TBD','Heisei'][int(input()[5:7])<5])", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "y, m, d = list(map(int, input().split('/')))\n\nif (y >= 2019) and (m >= 5):\n    print('TBD')\nelse:\n    print('Heisei')\n", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "a = input()\nif a < '2019/05/01':\n  print('Heisei')\nelse:\n  print('TBD')", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "S = list(map(int, input().split('/')))\nif S[0] > 2019:\n    print('TBD')\nelif S[0] == 2019 and S[1] > 4:\n    print('TBD')\nelse:\n    print('Heisei')", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "s = input()\n\nif s > '2019/04/30':\n  print('TBD')\nelse:\n  print('Heisei')", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "ans1 = 'Heisei'\nans2 = 'TBD'\n\nS = input().split('/')\nif int(S[0]) > 2019 or ( int(S[0]) == 2019 and int(S[1]) > 4):\n  print(ans2)\nelse:\n  print(ans1)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "y,m,d = map(str, input().split('/'))\nymd = int(y+m+d)\nif ymd <= 20190430:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.15, "memory": 14064.0, "status": "done"}, {"code": "t=20190430\ns=input()\n\nif int(s.replace('/', '')) > t:\n    print(\"TBD\")\nelse:\n    print(\"Heisei\")", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "s = input()\nif s <= \"2019/04/30\":\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "y,m,d=map(int,input().split(\"/\"))\nprint(\"Heisei\") if y<=2019 and m<=4 and d<=30 else print(\"TBD\")", "passed": true, "time": 0.88, "memory": 14280.0, "status": "done"}, {"code": "s=input()\ns=int(s.replace(\"/\",\"\"))\nprint([\"Heisei\",\"TBD\"][s>20190430])", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "S=input()\nprint([\"Heisei\",\"TBD\"][int(S[5:7]+S[8:10])>430])", "passed": true, "time": 0.17, "memory": 14096.0, "status": "done"}, {"code": "s=input()\nif s<=\"2019/04/30\":\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.17, "memory": 14212.0, "status": "done"}, {"code": "S = str(input())\n\nS = int(S.replace(\"/\",\"\"))\n\nif S > 20190430:\n    print('TBD')\nelse:\n    print('Heisei')", "passed": true, "time": 0.21, "memory": 14328.0, "status": "done"}, {"code": "s = input()\nif s <= \"2019/04/30\":\n  print(\"Heisei\")\nelse:\n  print(\"TBD\")", "passed": true, "time": 0.21, "memory": 14280.0, "status": "done"}, {"code": "y,m,d = list(map(int,input().split('/')))\n\nif m<=4 and d<=30: print('Heisei')\nelse: print('TBD')\n", "passed": true, "time": 0.14, "memory": 14344.0, "status": "done"}, {"code": "s=input()\nif int(s[5]+s[6])>=5:\n  print('TBD')\nelse:\n  print('Heisei')", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "a = list(input().split(\"/\"))\nmonth = int(a[1])\ndate = int(a[2])\nif month < 4:\n    print(\"Heisei\")\nelif month == 4 and date <= 30:\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")\n", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "y,m,d=list(map(int,input().split('/')))\nif 10000*y+100*m+d<=20190430:\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")\n", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "S = input()\nif int(S[5]) == 0 and int(S[6]) < 4:\n    print('Heisei')\nelif int(S[6]) == 4 and int(S[-2:-1]) <= 30:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "\ny,m,d=map(int,input().split('/'))\nif y < 2020 and m < 5:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.14, "memory": 13984.0, "status": "done"}, {"code": "S = input()\nN = int(S[5]) * 10 + int(S[6])\nprint(\"Heisei\" if N <= 4 else \"TBD\")", "passed": true, "time": 0.15, "memory": 14208.0, "status": "done"}, {"code": "S = str(input())\nif (S[5]=='1') or (int(S[6])>4):\n  print('TBD')\nelse:\n  print('Heisei')", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "y, m, d = list(map(int, input().split(\"/\")))\nflg = True\nif y >= 2020:\n    flg = False\nif y == 2019 and m >= 5:\n    flg = False\nprint((\"Heisei\" if flg else \"TBD\"))\n", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "a, b, c = input().split(\"/\")\nif int(a) < 2019:\n    print(\"Heisei\")\nelif int(a) == 2019 and int(b) <= 4:\n    print(\"Heisei\")\nelse:\n    print(\"TBD\")", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "s = input()\ns_i = s[0:4] + s[5:7] + s[-2:]\n\nif int(s_i) <= 20190430:\n    print('Heisei')\nelse:\n    print('TBD')", "passed": true, "time": 0.14, "memory": 14052.0, "status": "done"}]