





import math
import os
import sys







def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> str:



       """simple docstring"""

       A__   				=					''''''
       try:
              with open(__snake_case				,       '''rb'''		) as binary_file:
                     A__   				=					binary_file.read()
              for dat in data:
                     A__   				=					f"""{dat:08b}"""
                     result += curr_byte
              return result
       except OSError:
              print('''File not accessible'''		)
              sys.exit()







def SCREAMING_SNAKE_CASE       ( lowercase_				,       lowercase_				,       lowercase_				,       lowercase_		)     -> None:



       """simple docstring"""

       lexicon.pop(__snake_case		)
       A__   				=					last_match_id

       if math.loga(__snake_case		).is_integer():
              for curr_key in lexicon:
                     A__   				=					'''0''' + lexicon[curr_key]

       A__   				=					bin(__snake_case		)[2:]







def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> str:



       """simple docstring"""

       A__   				=					{'''0''': '''0''', '''1''': '''1'''}
       A__				,							A__   				=					'''''', ''''''
       A__   				=					len(__snake_case		)

       for i in range(len(__snake_case		)		):
              curr_string += data_bits[i]
              if curr_string not in lexicon:
                     continue

              A__   				=					lexicon[curr_string]
              result += last_match_id
              add_key_to_lexicon(__snake_case				,       __snake_case				,       __snake_case				,       __snake_case		)
              index += 1
              A__   				=					''''''

       while curr_string != "" and curr_string not in lexicon:
              curr_string += "0"

       if curr_string != "":
              A__   				=					lexicon[curr_string]
              result += last_match_id

       return result







def SCREAMING_SNAKE_CASE       ( lowercase_				,       lowercase_		)     -> str:



       """simple docstring"""

       A__   				=					os.path.getsize(__snake_case		)
       A__   				=					bin(__snake_case		)[2:]
       A__   				=					len(__snake_case		)

       return "0" * (length_length - 1) + file_length_binary + compressed







def SCREAMING_SNAKE_CASE       ( lowercase_				,       lowercase_		)     -> None:



       """simple docstring"""

       A__   				=					8
       try:
              with open(__snake_case				,       '''wb'''		) as opened_file:
                     A__   				=					[
                         to_write[i : i + byte_length]
                         for i in range(0				,       len(__snake_case		)				,       __snake_case		)
                     ]

                     if len(result_byte_array[-1]		) % byte_length == 0:
                            result_byte_array.append('''10000000'''		)
                     else:
                            result_byte_array[-1] += "1" + "0" * (
                                byte_length - len(result_byte_array[-1]		) - 1
                            )

                     for elem in result_byte_array:
                            opened_file.write(int(__snake_case				,       2		).to_bytes(1				,       byteorder='''big'''		)		)
       except OSError:
              print('''File not accessible'''		)
              sys.exit()







def SCREAMING_SNAKE_CASE       ( lowercase_				,       lowercase_		)     -> None:



       """simple docstring"""

       A__   				=					read_file_binary(__snake_case		)
       A__   				=					compress_data(__snake_case		)
       A__   				=					add_file_length(__snake_case				,       __snake_case		)
       write_file_binary(__snake_case				,       __snake_case		)


if __name__ == "__main__":
  compress(sys.argv[1], sys.argv[2])








def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> int:



       """simple docstring"""

       A__   				=					1
       for i in range(1				,       num + 1		):
              fact *= i
       return fact







def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> int:



       """simple docstring"""

       A__   				=					0
       while number > 0:
              A__   				=					number % 10
              sum_of_digits += last_digit
              A__   				=					number // 10  # Removing the last_digit from the given number
       return sum_of_digits







def SCREAMING_SNAKE_CASE       ( lowercase_ = 100		)     -> int:



       """simple docstring"""

       A__   				=					factorial(lowercase_		)
       A__   				=					split_and_add(lowercase_		)
       return result


if __name__ == "__main__":
  print(solution(int(input("""Enter the Number: """).strip())))


