


import os
import string
import sys


SCREAMING_SNAKE_CASE			: str				   =					1 << 8

SCREAMING_SNAKE_CASE			: str				   =					{
    "tab": ord("\t"),
    "newline": ord("\r"),
    "esc": 27,
    "up": 65 + ARROW_KEY_FLAG,
    "down": 66 + ARROW_KEY_FLAG,
    "right": 67 + ARROW_KEY_FLAG,
    "left": 68 + ARROW_KEY_FLAG,
    "mod_int": 91,
    "undefined": sys.maxsize,
    "interrupt": 3,
    "insert": 50,
    "delete": 51,
    "pg_up": 53,
    "pg_down": 54,
}

SCREAMING_SNAKE_CASE			: Union[str, Any]				   =					KEYMAP["up"]
SCREAMING_SNAKE_CASE			: Union[str, Any]				   =					KEYMAP["left"]

if sys.platform == "win32":
 SCREAMING_SNAKE_CASE			: int				   =					[]
 SCREAMING_SNAKE_CASE			: Any				   =					{
     B"\xe0H": KEYMAP["up"] - ARROW_KEY_FLAG,
     B"\x00H": KEYMAP["up"] - ARROW_KEY_FLAG,
     B"\xe0P": KEYMAP["down"] - ARROW_KEY_FLAG,
     B"\x00P": KEYMAP["down"] - ARROW_KEY_FLAG,
     B"\xe0M": KEYMAP["right"] - ARROW_KEY_FLAG,
     B"\x00M": KEYMAP["right"] - ARROW_KEY_FLAG,
     B"\xe0K": KEYMAP["left"] - ARROW_KEY_FLAG,
     B"\x00K": KEYMAP["left"] - ARROW_KEY_FLAG,
 }

for i in range(10):
 SCREAMING_SNAKE_CASE			: Optional[int]				   =					ord(str(i))



def 							UpperCamelCase_( )       ->		Union[str, Any]:
    if os.name == "nt":
        import msvcrt

        _lowercase			:				List[str] 						=						'mbcs'
        # Flush the keyboard buffer
        while msvcrt.kbhit():
            msvcrt.getch()
        if len(lowerCamelCase_					) == 0:
            # Read the keystroke
            _lowercase			:				Tuple 						=						msvcrt.getch()

            # If it is a prefix char, get second part
            if ch in (b"\x00", b"\xe0"):
                _lowercase			:				str 						=						ch + msvcrt.getch()
                # Translate actual Win chars to bullet char types
                try:
                    _lowercase			:				List[Any] 						=						chr(WIN_KEYMAP[cha]					)
                    WIN_CH_BUFFER.append(chr(KEYMAP['mod_int']					)					)
                    WIN_CH_BUFFER.append(lowerCamelCase_					)
                    if ord(lowerCamelCase_					) in (
                        KEYMAP["insert"] - 1 << 9,
                        KEYMAP["delete"] - 1 << 9,
                        KEYMAP["pg_up"] - 1 << 9,
                        KEYMAP["pg_down"] - 1 << 9,
                    ):
                        WIN_CH_BUFFER.append(chr(126					)					)
                    _lowercase			:				int 						=						chr(KEYMAP['esc']					)
                except KeyError:
                    _lowercase			:				List[str] 						=						cha[1]
            else:
                _lowercase			:				List[Any] 						=						ch.decode(lowerCamelCase_					)
        else:
            _lowercase			:				Tuple 						=						WIN_CH_BUFFER.pop(0					)
    elif os.name == "posix":
        import termios
        import tty

        _lowercase			:				str 						=						sys.stdin.fileno()
        _lowercase			:				List[str] 						=						termios.tcgetattr(lowerCamelCase_					)
        try:
            tty.setraw(lowerCamelCase_					)
            _lowercase			:				str 						=						sys.stdin.read(1					)
        finally:
            termios.tcsetattr(lowerCamelCase_				,					termios.TCSADRAIN				,					lowerCamelCase_					)
    return ch



def 							UpperCamelCase_( )       ->		Union[str, Any]:
    _lowercase			:				List[str] 						=						get_raw_chars()
    if ord(lowerCamelCase_					) in [KEYMAP["interrupt"], KEYMAP["newline"]]:
        return char

    elif ord(lowerCamelCase_					) == KEYMAP["esc"]:
        _lowercase			:				List[str] 						=						get_raw_chars()
        if ord(lowerCamelCase_					) == KEYMAP["mod_int"]:
            _lowercase			:				List[Any] 						=						get_raw_chars()
            if ord(lowerCamelCase_					) >= KEYMAP["arrow_begin"] - ARROW_KEY_FLAG and ord(lowerCamelCase_					) <= KEYMAP["arrow_end"] - ARROW_KEY_FLAG:
                return chr(ord(lowerCamelCase_					) + ARROW_KEY_FLAG					)
            else:
                return KEYMAP["undefined"]
        else:
            return get_raw_chars()

    else:
        if char in string.printable:
            return char
        else:
            return KEYMAP["undefined"]







'''simple docstring'''





import sys

__a  			=						(
    "73167176531330624919225119674426574742355349194934"
    "96983520312774506326239578318016984801869478851843"
    "85861560789112949495459501737958331952853208805511"
    "12540698747158523863050715693290963295227443043557"
    "66896648950445244523161731856403098711121722383113"
    "62229893423380308135336276614282806444486645238749"
    "30358907296290491560440772390713810515859307960866"
    "70172427121883998797908792274921901699720888093776"
    "65727333001053367881220235421809751254540594752243"
    "52584907711670556013604839586446706324415722155397"
    "53697817977846174064955149290862569321978468622482"
    "83972241375657056057490261407972968652414535100474"
    "82166370484403199890008895243450658541227588666881"
    "16427171479924442928230863465674813919123162824586"
    "17866458359124566529476545682848912883142607690042"
    "24219022671055626321111109370544217506941658960408"
    "07198403850962455444362981230987879927244284909188"
    "84580156166097919133875499200524063689912560717606"
    "05886116467109405077541002256983155200055935729725"
    "71636269561882670428252483600823257530420752963450"
)





def 		__snake_case(							_lowerCAmelCase = N						)						->					int:
      snake_case__    :       Dict       		= -sys.maxsize - 1
      for i in range(len(_lowerCAmelCase						) - 12						):
            snake_case__    :       Any       		= 1
            for j in range(13						):
                  product *= int(n[i + j]						)
            if product > largest_product:
                  snake_case__    :       List[str]       		= product
      return largest_product


if __name__ == "__main__":
       print(F"{solution() = }")
