clear; clc;

n = input('n? ');
k = input('k? ');
try 
    y = factorial(n) / (factorial(n - k) * factorial(k));
    disp(y);
catch
    disp('You cannot do this with n < k.');
end
disp('End of program.');