



import os
import sys
from contextlib import contextmanager


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




  class 							lowerCAmelCase__  (	ctypes.Structure						):
       # _fields is a specific attr expected by ctypes
       __A     :    Optional[Any]           =						[('size', ctypes.c_int), ('visible', ctypes.c_byte)]
def 	snake_case__       (					)		->		List[Any]:







      """simple docstring"""

      if os.name == "nt":
            A__	:							Optional[Any]						    = CursorInfo()
            A__	:							Tuple						    = ctypes.windll.kernelaa.GetStdHandle(-1_1       )
            ctypes.windll.kernelaa.GetConsoleCursorInfo(__lowercase							,     ctypes.byref(__lowercase       )       )
            A__	:							Any						    = False
            ctypes.windll.kernelaa.SetConsoleCursorInfo(__lowercase							,     ctypes.byref(__lowercase       )       )
      elif os.name == "posix":
            sys.stdout.write("\033[?25l"       )
            sys.stdout.flush()
def 	snake_case__       (					)		->		Dict:







      """simple docstring"""

      if os.name == "nt":
            A__	:							List[str]						    = CursorInfo()
            A__	:							Optional[int]						    = ctypes.windll.kernelaa.GetStdHandle(-1_1       )
            ctypes.windll.kernelaa.GetConsoleCursorInfo(__lowercase							,     ctypes.byref(__lowercase       )       )
            A__	:							int						    = True
            ctypes.windll.kernelaa.SetConsoleCursorInfo(__lowercase							,     ctypes.byref(__lowercase       )       )
      elif os.name == "posix":
            sys.stdout.write("\033[?25h"       )
            sys.stdout.flush()




@contextmanager
def 	snake_case__       (					)		->		Optional[int]:







      """simple docstring"""

      try:
            hide_cursor()
            yield
      finally:
            show_cursor()




def 	snake_case__       (					)		->		Union[str, Any]:







						"""simple docstring"""

						A__	:							Tuple						    = []
						A__	:							Optional[int]						    = 1

						while len(__lowercase       ) < 1E6:
												constant.append(str(__lowercase       )       )
												i += 1

						A__	:							Any						    = "".join(__lowercase       )

						return (
						    int(constant[0]       )
						    * int(constant[9]       )
						    * int(constant[9_9]       )
						    * int(constant[9_9_9]       )
						    * int(constant[9_9_9_9]       )
						    * int(constant[9_9_9_9_9]       )
						    * int(constant[9_9_9_9_9_9]       )
						)


if __name__ == "__main__":
		print(solution())