





"""simple docstring"""



def 		__lowercase					(       snake_case_  :  int = 100						)       ->int:



    '''simple docstring'''







    __A   :						Optional[int]									=					n * (n + 1) * (2 * n + 1) / 6
    __A   :						Optional[Any]									=					(n * (n + 1) / 2) ** 2
    return int(square_of_sum - sum_of_squares						)


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











"""simple docstring"""



def 		__lowercase					(       )       ->Tuple:



    '''simple docstring'''







    __A   :						str									=					[]
    __A   :						List[Any]									=					1

    while len(snake_case_						) < 1e6:
        constant.append(str(snake_case_						)						)
        i += 1

    __A   :						Any									=					''''''.join(snake_case_						)

    return (
        int(constant[0]						)
        * int(constant[9]						)
        * int(constant[99]						)
        * int(constant[999]						)
        * int(constant[9999]						)
        * int(constant[99999]						)
        * int(constant[999999]						)
    )


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




