template `max=`*(x,y) = x = max(x,y) proc check(S:string) : bool = for i in 0..