def find_elements_that_sum_to_value(
    input: list[int], target_value: int
) -> tuple[int, int]:
    """Find elements of the input that sum to a particular target_value."""

    for value in input:

        remainder = target_value - value

        if remainder in input:

            return value, remainder

    raise ValueError(f"unable to find 2 eleemnts that sum to {target_value}")