#include int main(void){ int X,Y,sum; sum=0; for(X=1;X<=12;X++){ switch(X){ case 2: for(Y=1;Y<=28;Y++){ if(X=(Y/10)+(Y%10)){ sum+=1; } } break; case 4: case 6: case 9: case 11: for(Y=1;Y<=30;Y++){ if(X=(Y/10)+(Y%10)){ sum+=1; } } break; case 1: case 3: case 5: case 7: case 8: case 10: case 12: for(Y=1;Y<=31;Y++){ if(X=(Y/10)+(Y%10)){ sum+=1; } } break; } } printf("%d\n",sum); return 0; }