output_description: Print 1 if x is equal to 0, or 0 if x is equal to 1.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      x
attempt: A = input()
  B = A.split()
  a = int(B[0])
  b = int(B[1])
  c = int(B[2])
  d = int(B[3])
  
  if a <= 0 and b <= 0 and c <= 0 and d <= 0:
      print(a * c)
  elif a > 0 and b > 0 and c > 0 and d > 0:
      print(b * d)
  elif a > 0 and b > 0 and c <= 0 and d <= 0:
      print(a * d)
  elif a <= 0 and b <= 0 and c > 0 and d > 0:
      print(b * c)
  elif a <= 0 and b <= 0 and c <= 0 and d > 0:
      print(a * c)
  elif a > 0 and b > 0 and c <= 0 and d > 0:
      print(b * d)
  elif a <= 0 and b > 0:
      if c <= 0 and d > 0:
          if -c <= d and -a <= b:
              print(d * b)
          elif -c <= d and -a > b:
              if a * c > b * d:
                  print(a * c)
              elif a * c <= b * d:
                  print(b * d)
          elif -c > d and -a <= b:
              if a * c > b * d:
                  print(a * c)
              elif a * c <= b * d:
                  print(b * d)
          elif -c > d and -a > b:
              print(a * c)
      elif c > 0 and d <= 0:
          print()
      elif c <= 0 and d <= 0:
          print(a * c)
  
problem_description: Statement
  
  Given is an integer x that is greater than or equal to 0, and less than or
  equal to 1. Output 1 if x is equal to 0, or 0 if x is equal to 1.
samples: [{"input": "1", "output": "0\n    \n\n* * *"}, {"input": "0", "output": "1"}]