



"""simple docstring"""






import itertools






def 	snake_case__  (						__lowerCamelCase							:       Optional[int]      ):
			"""simple docstring"""
			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 	snake_case__  (						):
			"""simple docstring"""
			return sum(
			    {
			        int(''''''.join(pandigital[5:9]      )      )
			        for pandigital in itertools.permutations('''123456789'''      )
			        if is_combination_valid(__lowerCamelCase      )
			    }      )


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












def       _a   (							lowerCamelCase__				)  ->      int:
 return int(lowerCamelCase__				) if x - int(lowerCamelCase__				) >= 0 else int(lowerCamelCase__				) - 1


if __name__ == "__main__":
       import doctest

       doctest.testmod()
