If value of ans is unchanged , then check if any s [ i ] is divisible by 4
if ( ans == n ) : NEW_LINE INDENT for i in range ( n ) : NEW_LINE INDENT num = ord ( s [ i ] ) - ord ( '0' ) NEW_LINE DEDENT DEDENT