Condition if zero does not exist or the sum is not divisible by 3
if ( zero_exist == false sum % 3 != 0 ) { document . write ( " " ) ; return ; } for ( let i = 0 ; i < s . length ; i ++ ) { let val = s [ i ] - ' ' ;