Var n,a,b,mi,i,j,ii,jj:int64; mass:array [1..10000] of int64;beginread(n,a,b);mi:=65345545;for i:=1 to n do begin mass[i]:=random(a,b); end;for i:=1 to n do begin for j:=i+1 to n do begin if abs(mass[i]-mass[j])<=mi then begin mi:=abs(mass[i]-mass[j]); ii:=i; jj:=j; end; end; end;writeln(i,j);end.