






import itertools
def      lowerCamelCase					(						a_	)	->			List[Any]:
							return (
							    int(''.join(combination[0:2]	)	) * int(''.join(combination[2:5]	)	)
							    == int(''.join(combination[5:9]	)	)
							) or (
							    int(''.join(combination[0]	)	) * int(''.join(combination[1:5]	)	)
							    == int(''.join(combination[5:9]	)	)
							)
def      lowerCamelCase					(						)	->			Dict:
							return sum(
							    {
							        int(''.join(pandigital[5:9]	)	)
							        for pandigital in itertools.permutations('123456789'	)
							        if is_combination_valid(a_	)
							    }	)


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











from dataclasses import dataclass
from typing import Callable, Optional

import datasets




@dataclass
class 							a_ (						datasets.BuilderConfig		):


							'''simple docstring'''






							__a:	Optional[Callable]     =    None
							__a:	Optional[dict]     =    None
							__a:	Optional[datasets.Features]     =    None

							def      _lowercase       (		self   )					->					Optional[int]:
														'''simple docstring'''

														assert self.generator is not None, "generator must be specified"

														if self.gen_kwargs is None:
																					lowerCAmelCase_										=     {}




class 							a_ (						datasets.GeneratorBasedBuilder		):


							'''simple docstring'''






							__a:	Optional[Any]     =    GeneratorConfig

							def      _lowercase       (		self   )					->					Union[str, Any]:
														'''simple docstring'''

														return datasets.DatasetInfo(features=self.config.features   )

							def      _lowercase       (		self			,			lowercase_   )					->					Dict:
														'''simple docstring'''

														return [datasets.SplitGenerator(name=datasets.Split.TRAIN			,			gen_kwargs=self.config.gen_kwargs   )]






							def      _lowercase       (		self			,			**lowercase_   )					->					Union[str, Any]:
														'''simple docstring'''

														for idx, ex in enumerate(self.config.generator(**lowercase_   )   ):
																					yield idx, ex



