function value = year_length_months_eg_lunar ( y )

%*****************************************************************************80
%
%% year_length_months_eg_lunar() returns the number of months in an Egyptian Lunar year.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 September 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer Y, the year.
%
%  Output:
%
%    integer VALUE, the number of months in the year.
%
  if ( year_is_embolismic_eg_lunar ( y ) )
    value = 13;
  else
    value = 12;
  end

  return
end
