'''simple docstring'''

def __UpperCamelCase(   _A					:				Optional[int]    ):
   '''simple docstring'''






   if num < 0:
      return False

   UpperCAmelCase__							:				List[Any]   				=  num
   UpperCAmelCase__							:				Any   				=  0
   while num > 0:
      UpperCAmelCase__							:				Any   				=  rev_num * 10 + (num % 10)
      num //= 10

   return num_copy == rev_num


if __name__ == "__main__":
  import doctest

  doctest.testmod()




'''simple docstring'''

import re







def __UpperCamelCase(   _A					:				str    ):
   '''simple docstring'''

   if len(re.findall('''[ATCG]'''  ,			_A    )    ) != len(_A    ):
      raise ValueError('''Invalid Strand'''    )

   return dna.translate(dna.maketrans('''ATCG'''  ,			'''TAGC'''    )    )


if __name__ == "__main__":
  import doctest

  doctest.testmod()




