var
arr22: array [0..11] of integer;
i,x:integer;
  begin
  arr22[0]:=30;
  write(arr22[0],' ');
  for i:=1 to 11 do
    begin
    arr22[i]:=arr22[i-1]-1;
    write(arr22[i],' ');
    end;
  writeln('');
  x:=random(12);
  write(x,' ',arr22[x]);
  end.