#include<bits/stdc++.h>
using namespace std;
int main()
{
int cnt=0,i1,i2,i3,i4;
for(i1=0;i1<=1;i1++){
for(i2=0;i2<=7;i2++){
for(i3=0;i3<=2;i3++){
for(i4=0;i4<=9;i4++) cnt+=(i1+i2+i3+i4 == 10);
}
}
}
cout<<"cnt = "<<cnt;
cout<<"\n";
return 0;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogICAgaW50IGNudD0wLGkxLGkyLGkzLGk0OwogICAgZm9yKGkxPTA7aTE8PTE7aTErKyl7CiAgICAgICAgZm9yKGkyPTA7aTI8PTc7aTIrKyl7CiAgICAgICAgICAgIGZvcihpMz0wO2kzPD0yO2kzKyspewogICAgICAgICAgICAgICAgZm9yKGk0PTA7aTQ8PTk7aTQrKykgICAgICAgIGNudCs9KGkxK2kyK2kzK2k0ID09IDEwKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KICAgIGNvdXQ8PCJjbnQgPSAiPDxjbnQ7CiAgICBjb3V0PDwiXG4iOwogICAgcmV0dXJuIDA7Cn0=