function sex = judge_sex ( index )

%*****************************************************************************80
%
%% judge_sex() returns the sex (M/F) of a given judge.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 January 2025
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer index: the index of the judge.  1 <= index <= 9.
%
%  Output:
%
%    string sex: either 'M' or 'F'.
%
  sex_vec = [ ...
    'M';
    'M';
    'M';
    'F';
    'F';
    'M';
    'M';
    'F';
    'F' ];

  sex = sex_vec(index);

  return
end

