#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n=0,i,j,z;
    for(i=1;i<=100;i++){
        for(j=1;j<=50;j++){
            for(z=1;z<=20;z++){
                if(i+j*2+z*5==100){
                    n++;    
                }
            }
        }
    } 
    cout<<n<<endl;
    return 0;
}
/**************************************************************
	Problem: 1025
	User: HUANGYIBO
	Language: C++
	Result: Accepted
	Time:11 ms
	Memory:2072 kb
****************************************************************/