function [ d, m, y ] = judge_birthday ( index )

%*****************************************************************************80
%
%% judge_birthday() returns the birthday 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:
%
%    integer d, m, y: the day, month and year of the birthday.
%
  d_vec = [   27,   23,    1,   25,   28,   29,   12,   28,   14 ];
  m_vec = [    1,    6,    4,    6,    4,    8,    2,    1,    9 ];
  y_vec = [ 1955, 1948, 1950, 1954, 1960, 1967, 1965, 1972, 1970 ];

  d = d_vec(index);
  m = m_vec(index);
  y = y_vec(index);

  return
end

