from pie_test_set.p02995 import problem_p02995


def test_problem_p02995_0():
    actual_output = problem_p02995("4 9 2 3")
    expected_output = "2"
    assert str(actual_output) == expected_output


def test_problem_p02995_1():
    actual_output = problem_p02995(
        "314159265358979323 846264338327950288 419716939 937510582"
    )
    expected_output = "532105071133627368"
    assert str(actual_output) == expected_output


def test_problem_p02995_2():
    actual_output = problem_p02995("10 40 6 8")
    expected_output = "23"
    assert str(actual_output) == expected_output


def test_problem_p02995_3():
    actual_output = problem_p02995("4 9 2 3")
    expected_output = "2"
    assert str(actual_output) == expected_output
