def ispunch(s):
    """
    tests if a string is an overpunched string, i.e. including chars in {ABCDEFGHIJKLMNOPQR}
    returns 1 is s contains positive overpunch char, -1 if negative, 0 if not overpunch

    """
    for letter in "{ABCDEFGHI}":
        if letter in s: return 1
    for letter in "JKLMNOPQR":
        if letter in s: return -1
    return 0