import math N, K = map(int, input().split()) print(math.factorial(N) // (math.factorial(N - K) * math.factorial(K)))
11050번: 이항 계수 1