def string3(s1, s2, s3):
    if s1 > "abcdefg":
        if s2 == s3:
            if s2 > "___---!@#":
                return True
            elif s3 <= "ABCDEFG":
                return False
        else:
            if s2 > s3:
                return 1
            else:
                return 2
    elif s1 > "#####":
        return True
