Вот так лучшеConst min=-20001;Var x,max1,max2,max13,max26,n:integer;begin max1:=min; max2:=min; max13:=min; max26:=min; readln(x); while x<>0 do begin if (x>max1) then max1:=x; if (x>max2) and (x mod 2=0) then max2:=x; if (x>max13) and (x mod 13=0) then max13:=x; if (x>max26) and (x mod 26=0) then max26:=x; readln(x); end; if max(max1*max26,max2*max13) mod min=0 then writeln('Nothing')else if (max1*max26)>(max2*max13) then writeln(max1*max26) else writeln(max2*max13);end.