output_description: If S is hard to enter, print `Bad`; otherwise, print `Good`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S
attempt: import io
  import sys
  
  
  def IN_S():
      return input()
  
  
  def IN_I():
      return int(input())
  
  
  def IN_L_I():
      return list(map(int, input().split()))
  
  
  def IN_L_S():
      return list(map(str, input().split()))
  
  
  def STR_SPLIT(s, n):
      for l in range(0, len(s), n):
          yield s[0 + l : n + l]
  
  
  def T_IN():
      global test_str
      sys.stdin = io.StringIO(test_str[1:-1])
  
  
  test_str = """
  1234
  """
  
  
  def MAIN():
      T_IN()
      A()
  
  
  def A():
      s = IN_S()
  
      p = ""
      for i in s:
          if len(p) != 0:
              if p == i:
                  print("Bad")
                  exit()
          p = i
  
      print("Good")
  
      return None
  
  
  def B():
      return None
  
  
  def C():
      return None
  
  
  MAIN()
  
problem_description: Statement
  
  The door of Snuke's laboratory is locked with a security code.
  
  The security code is a 4-digit number. We say the security code is _hard to
  enter_ when it contains two consecutive digits that are the same.
  
  You are given the current security code S. If S is hard to enter, print `Bad`;
  otherwise, print `Good`.
samples: [{"input": "3776", "output": "Bad\n    \n\nThe second and third digits are the same, so 3776 is hard to enter.\n\n* * *"}, {"input": "8080", "output": "Good\n    \n\nThere are no two consecutive digits that are the same, so 8080 is not hard to\nenter.\n\n* * *"}, {"input": "1333", "output": "Bad\n    \n\n* * *"}, {"input": "0024", "output": "Bad"}]