def find_elements_that_sum_to_2020(input: list[int]) -> tuple[int, int]:
    """Find elements of the input that sum to 2020."""

    for value in input:

        remainder = 2020 - value

        if remainder in input:

            return value, remainder

    raise ValueError("unable to find 2 elements that sum to 2020")