
'''simple docstring'''

import argparse
import json

from tqdm import tqdm







def     snake_case__						(   )			->   Optional[int]:
		_UpperCamelCase							:			int     =   argparse.ArgumentParser()

		# Required parameters
		parser.add_argument(
		    '''--src_path'''      ,type=lowerCAmelCase__      ,default='''biencoder-nq-dev.json'''      ,help='''Path to raw DPR training data'''      ,)
		parser.add_argument(
		    '''--evaluation_set'''      ,type=lowerCAmelCase__      ,help='''where to store parsed evaluation_set file'''      ,)
		parser.add_argument(
		    '''--gold_data_path'''      ,type=lowerCAmelCase__      ,help='''where to store parsed gold_data_path file'''      ,)
		_UpperCamelCase							:			Optional[int]     =   parser.parse_args()

		with open(args.src_path      ,'''r'''						) as src_file, open(args.evaluation_set      ,'''w'''						) as eval_file, open(
		    args.gold_data_path      ,'''w'''						) as gold_file:
				_UpperCamelCase							:			Any     =   json.load(lowerCAmelCase__						)
				for dpr_record in tqdm(lowerCAmelCase__						):
						_UpperCamelCase							:			List[str]     =   dpr_record['''question''']
						_UpperCamelCase							:			Optional[int]     =   [context['''title'''] for context in dpr_record['''positive_ctxs''']]
						eval_file.write(question + '''\n'''						)
						gold_file.write('''\t'''.join(lowerCAmelCase__						) + '''\n'''						)


if __name__ == "__main__":
	main()








'''simple docstring'''

from math import factorial




def 							_UpperCamelCase				(   lowerCAmelCase__:					int = 100   )      -> int:
							return sum(map(lowerCAmelCase__		,str(factorial(lowerCAmelCase__   )   )   )   )


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





