#include <bits/stdc++.h>
int plass(int sum, int count_roop) {
  count_roop++;
  int x = 0, count = 0;
  while (x <= sum) {
    if (count_roop >= 5)
      break;
    else if (x == sum)
      count++;
    else
      count += plass(sum - x, count_roop);
    x++;
  }
  return count;
}
int main(void) {
  int n;
  while (scanf("%d", &n) != EOF) {
    printf("%d\n", plass(n, 0));
  }
  return 0;
}
