#include <iostream>
using namespace std;

int main(){
  int n;
  cin >> n;
  int a = 0, b = 0, c = 0, d = 0, m = 0;
  if(a+b+c+d == n) m++;
  for(int i = 0; i < 9; i++){
    a++;
    if(a+b+c+d == n) m += 4;
    b++;
    if(a+b+c+d == n) m += 4;
    c++;
    if(a+b+c+d == n) m += 4;
    d++;
    if(a+b+c+d == n) m++;
  }

  cout << m << endl;

  return 0;
}