def 			A__      (	snake_case_ :		int      ):
 if num < 0:
  return False

 SCREAMING_SNAKE_CASE__:   int=      num
 SCREAMING_SNAKE_CASE__:   int=      0
 while num > 0:
  SCREAMING_SNAKE_CASE__:   Optional[int]=      rev_num * 10 + (num % 10)
  num //= 10

 return num_copy == rev_num


if __name__ == "__main__":
      import doctest

      doctest.testmod()


import re







def 			A__      (	snake_case_ :		str      ):

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

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


if __name__ == "__main__":
      import doctest

      doctest.testmod()

