



def  __lowerCamelCase (       ):

				"""simple docstring"""


				lowercase__					:   Dict													=					[]
				lowercase__					:   Union[str, Any]													=					1

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

				lowercase__					:   Optional[Any]													=					"".join(SCREAMING_SNAKE_CASE__						)

				return (
				    int(constant[0]						)
				    * int(constant[9]						)
				    * int(constant[99]						)
				    * int(constant[999]						)
				    * int(constant[9_999]						)
				    * int(constant[99_999]						)
				    * int(constant[999_999]						)
				)


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









from typing import Union

import fire
import torch
from tqdm import tqdm


def  __lowerCamelCase (       lowerCamelCase__					,			lowerCamelCase__ = "cpu"					,			lowerCamelCase__ = None						):

				"""simple docstring"""


				lowercase__					:   Any													=					torch.load(lowerCamelCase__					,			map_location=lowerCamelCase__						)
				for k, v in tqdm(state_dict.items()						):
								if not isinstance(lowerCamelCase__					,			torch.Tensor						):
												raise TypeError("FP16 conversion only works on paths that are saved state dicts, like pytorch_model.bin"						)
								lowercase__					:   int													=					v.half()
				if save_path is None:  # overwrite src_path
								lowercase__					:   Optional[Any]													=					src_path
				torch.save(lowerCamelCase__					,			lowerCamelCase__						)


if __name__ == "__main__":
				fire.Fire(convert)




