You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: am_gt.m
    path of file: ./repos/d2d/arFramework3/ThirdParty/strike-goldd/STRIKE-GOLDD/MEIGO64/MEIGO/PEtabMEIGO/Sbml2Meigo/symbolic
    
    the code of the file until where you have to start completion: function fun = am_gt(varargin)
% am_gt is the amici implementation of the n-ary mathml greaterthan function
% this is an n-ary function, for more than 2 input parameters it will check
% whether and(varargin{1} > varargin{2},varargin{2} > varargin{3},...)
%
% Parameters:
%  varargin: chain of input parameters @type sym
%

    
function fun = am_gt(varargin)
% am_gt is the amici implementation of the n-ary mathml greaterthan function
% this is an n-ary function, for more than 2 input parameters it will check
% whether and(varargin{1} > varargin{2},varargin{2} > varargin{3},...)
%
% Parameters:
%  varargin: chain of input parameters @type sym
%
% Return values:
%  fun: a > b logical value, negative for false, positive for true
a=varargin{1};
b=varargin{2};
fun = a-b;
if(nargin>2)
    fun = am_and(a-b,am_gt(varargin{2:end