"""simple docstring"""







from __future__ import annotations


def      __lowerCAmelCase(		__UpperCAmelCase     ,__UpperCAmelCase     ,__UpperCAmelCase			):






	"""simple docstring"""





	if (voltage, current, resistance).count(0			) != 1:
		raise ValueError('One and only one argument must be 0'			)
	if resistance < 0:
		raise ValueError('Resistance cannot be negative'			)
	if voltage == 0:
		return {"voltage": float(current * resistance			)}
	elif current == 0:
		return {"current": voltage / resistance}
	elif resistance == 0:
		return {"resistance": voltage / current}
	else:
		raise ValueError('Exactly one argument must be 0'			)


if __name__ == "__main__":
						import doctest

						doctest.testmod()




"""simple docstring"""







def      __lowerCAmelCase(		__UpperCAmelCase     ,__UpperCAmelCase			):






	"""simple docstring"""





	_lowercase :    Any							=							len(__UpperCAmelCase			)
	_lowercase :    Any							=							len(__UpperCAmelCase			)
	_lowercase :    List[Any]							=							[[False for _ in range(m + 1			)] for _ in range(n + 1			)]
	_lowercase :    Union[str, Any]							=							True
	for i in range(__UpperCAmelCase			):
		for j in range(m + 1			):
			if dp[i][j]:
				if j < m and a[i].upper() == b[j]:
					_lowercase :    Optional[int]							=							True
				if a[i].islower():
					_lowercase :    Union[str, Any]							=							True
	return dp[n][m]


if __name__ == "__main__":
						import doctest

						doctest.testmod()



