function [ first_name, last_name ] = judge_name ( index )

%*****************************************************************************80
%
%% judge_name() returns the first and last names 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 first_name, last_name: the first and last names of the judge.
%
  first_name_vec = { ...
    'John';
    'Clarence';
    'Samuel';
    'Sonya';
    'Elena';
    'Neil';
    'Brett';
    'Amy';
    'Ketanji' };

  last_name_vec = { ...
    'Roberts';
    'Thomas';
    'Alito';
    'Sotomayor';
    'Kagan';
    'Gorsuch';
    'Kavanaugh';
    'Barrett';
    'Jackson' };

  first_name = first_name_vec{index};
  last_name = last_name_vec{index};

  return
end

