program ask14(input,output,f1,f2); const size=15; type string20=array [1..20] of char ; student=record Epitheto,Onoma : string20; AM :integer end; lista=array[1..size] of student; var f1,f2 : file of student; w : lista; i : integer; procedure merge(var a,b,c : lista; fa,la,fb,lb,fc:integer; var lc:integer); var ia,ib,ic : integer; begin ia:=fa;ib:=fb;ic:=fc; repeat if a[ia].Epitheto < b[ib].Epitheto then begin c[ic]:=a[ia];ia:=ia+1 end else begin c[ic]:=b[ib];ib:=ib+1 end; ic:=ic+1; until (ia>la) or (ib>lb); for ia:=ia to la do begin c[ic]:=a[ia];ic:=ic+1 end; for ib:=ib to lb do begin c[ic]:=b[ib];ic:=ic+1 end; lc:=ic-1 end; procedure mergesort(var a : lista;fa,la:integer); var b:lista; i,mid:integer; begin if fa