




import os
import sys
from contextlib import contextmanager


# Windows only
if os.name == "nt":
 import ctypes
 import msvcrt  # noqa







 class   A(						ctypes.Structure   ):



  '''simple docstring'''


  UpperCamelCase						   =						[('''size''', ctypes.c_int), ('''visible''', ctypes.c_byte)]

def 			_SCREAMING_SNAKE_CASE			(							):


      '''simple docstring'''



      if os.name == "nt":
            lowerCamelCase_		     =    CursorInfo()
            lowerCamelCase_		     =    ctypes.windll.kernelaa.GetStdHandle(-11     )
            ctypes.windll.kernelaa.GetConsoleCursorInfo(lowercase	,							ctypes.byref(lowercase     )     )
            lowerCamelCase_		     =    False
            ctypes.windll.kernelaa.SetConsoleCursorInfo(lowercase	,							ctypes.byref(lowercase     )     )
      elif os.name == "posix":
            sys.stdout.write('\033[?25l'     )
            sys.stdout.flush()

def 			_SCREAMING_SNAKE_CASE			(							):


      '''simple docstring'''



      if os.name == "nt":
            lowerCamelCase_		     =    CursorInfo()
            lowerCamelCase_		     =    ctypes.windll.kernelaa.GetStdHandle(-11     )
            ctypes.windll.kernelaa.GetConsoleCursorInfo(lowercase	,							ctypes.byref(lowercase     )     )
            lowerCamelCase_		     =    True
            ctypes.windll.kernelaa.SetConsoleCursorInfo(lowercase	,							ctypes.byref(lowercase     )     )
      elif os.name == "posix":
            sys.stdout.write('\033[?25h'     )
            sys.stdout.flush()






@contextmanager
def 			_SCREAMING_SNAKE_CASE			(							):


      '''simple docstring'''



      try:
            hide_cursor()
            yield
      finally:
            show_cursor()









def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int = 10_00     ):


      '''simple docstring'''



      lowerCamelCase_		     =    2**power
      lowerCamelCase_		     =    0
      while n:
            lowerCamelCase_     ,				lowerCamelCase_		     =    r + n % 10, n // 10
      return r


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



