#include <bits/stdc++.h>
using namespace std;

#define REP(i, n) for(int i = (0); i < (n); ++i)

int main() {
	int n, ans = 0;
	cin >> n;
	REP(i, 10)REP(j, 10)REP(k, 10)REP(l, 10){
		if(i + j + k + l == n)
			ans++;
	}
	cout << ans << endl;
	return 0;
}