function a = m72(varargin)
optargin = size(varargin, 2);
if optargin==1
a='wrong';
disp(a);
end
if optargin==2
disp(factorial(varargin{1})+factorial(varargin{2}));
a = factorial(varargin{1})+factorial(varargin{2})
else if optargin==3
disp(factorial(varargin{1})+factorial(varargin{2})+factorial(varargin{3}));
a = factorial(varargin{1})+factorial(varargin{2})+factorial(varargin{3});
end
end