>>477
import sys

lst = []
for line in sys.stdin:
  curNum = float(line.strip())
  try:
    if curNum >= max(lst):
      print "Hit", curNum, lst
  except ValueError:
    pass

  lst.append(curNum)
  if len(lst) > 10:
    lst = lst[1:]