#include"stdio.h" int fac(int s) { int n=0; if(s<100)n=0; else n=1+fac(s-40); return n; } main() { int s=2168; printf("%d\n",fac(s)); }