<gh_stars>1-10
# Python3

from solution2 import correctScholarships as f

qa = [
    ([3, 5],
     [3, 5, 7],
     [1, 2, 3, 4, 5, 6, 7],
     True),
    ([3, 5],
     [3, 5],
     [3, 5],
     False),
    ([3],
     [1, 3, 5],
     [1, 2, 3],
     False),
    ([56, 75, 23],
     [75, 23, 56],
     [1, 53, 56, 75, 23, 98, 104],
     True),
    ([],
     [],
     [1],
     True),
    ([],
     [],
     [],
     False),
    ([46, 23],
     [12, 5, 3, 46, 23],
     [3, 68, 5, 12, 23, 46, 19],
     True),
    ([99, 45, 24],
     [87, 45, 99],
     [45, 24, 99, 87],
     False),
    ([1, 2, 3],
     [1, 2, 3, 4, 5, 6, 7],
     [1, 2, 3, 4, 5, 6, 7],
     False),
    ([971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 989, 990, 991, 992, 993, 994, 995, 997, 998, 999, 1000],
     [971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000],
     [971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000],
     True)
]

for *q, a in qa:
    for i, e in enumerate(q):
        print('input{0}: {1}'.format(i + 1, e))
    ans = f(*q)
    if ans != a:
        print('  [failed]')
        print('    output:', ans)
        print('    expected:', a)
    else:
        print('  [ok]')
        print('    output:', ans)
    print()

# Python3

from solution2 import correctScholarships as f

qa = [
    ([3, 5],
     [3, 5, 7],
     [1, 2, 3, 4, 5, 6, 7],
     True),
    ([3, 5],
     [3, 5],
     [3, 5],
     False),
    ([3],
     [1, 3, 5],
     [1, 2, 3],
     False),
    ([56, 75, 23],
     [75, 23, 56],
     [1, 53, 56, 75, 23, 98, 104],
     True),
    ([],
     [],
     [1],
     True),
    ([],
     [],
     [],
     False),
    ([46, 23],
     [12, 5, 3, 46, 23],
     [3, 68, 5, 12, 23, 46, 19],
     True),
    ([99, 45, 24],
     [87, 45, 99],
     [45, 24, 99, 87],
     False),
    ([1, 2, 3],
     [1, 2, 3, 4, 5, 6, 7],
     [1, 2, 3, 4, 5, 6, 7],
     False),
    ([971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 989, 990, 991, 992, 993, 994, 995, 997, 998, 999, 1000],
     [971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000],
     [971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000],
     True)
]

for *q, a in qa:
    for i, e in enumerate(q):
        print('input{0}: {1}'.format(i + 1, e))
    ans = f(*q)
    if ans != a:
        print('  [failed]')
        print('    output:', ans)
        print('    expected:', a)
    else:
        print('  [ok]')
        print('    output:', ans)
    print()