https://www.acmicpc.net/problem/11050
def fac(x): if x <= 1: return 1 return x * fac(x-1) n, k = map(int, input().split()) print(fac(n) // ((fac(n-k) * fac(k))))