#include <bits/stdc++.h>
using namespace std;
long long res[1000][1000];
void mem() { memset(res, -1, sizeof(res)); }
long long binomialCoeff(long long n, long long k) {
  if (k == 0 || k == n) return 1;
  if (res[n][k] != -1) return res[n][k];
  return res[n][k] = binomialCoeff(n - 1, k - 1) + binomialCoeff(n - 1, k);
}
int main() {
  mem();
  long long n, k;
  cin >> n >> k;
  cout << "Value of C(" << n << "," << k << ") is " << binomialCoeff(n, k)
       << endl;
  return 0;
}
