
from __future__ import annotations

from collections import namedtuple






def 		__magic_name__					(       __a     :			float			,						__a     :			float			,						__a     :			float		):



     '''simple docstring'''




     UpperCamelCase__												=							namedtuple("""result"""			,						"""name value"""		)
     if (voltage, current, power).count(0		) != 1:
          raise ValueError("""Only one argument must be 0"""		)
     elif power < 0:
          raise ValueError(
              """Power cannot be negative in any electrical/electronics system"""		)
     elif voltage == 0:
          return result("""voltage"""			,						power / current		)
     elif current == 0:
          return result("""current"""			,						power / voltage		)
     elif power == 0:
          return result("""power"""			,						float(round(abs(voltage * current		)			,						2		)		)		)
     else:
          raise ValueError("""Exactly one argument must be 0"""		)


if __name__ == "__main__":
    import doctest

    doctest.testmod()








'''simple docstring'''




from __future__ import annotations


def    lowerCamelCase__		(    SCREAMING_SNAKE_CASE   : int | str    ):
  UpperCAmelCase    				=						str(SCREAMING_SNAKE_CASE    )
  return n == n[::-1]


def    lowerCamelCase__		(    SCREAMING_SNAKE_CASE   : int = 100_0000    ):
  UpperCAmelCase    				=						0

  for i in range(1							, SCREAMING_SNAKE_CASE    ):
    if is_palindrome(SCREAMING_SNAKE_CASE    ) and is_palindrome(bin(SCREAMING_SNAKE_CASE    ).split('b'    )[1]    ):
      total += i
  return total


if __name__ == "__main__":
  print(solution(int(str(input().strip()))))


