#include int main(){ int i[3]; int a[12]={31,28,31,30,31,30,31,31,30,31,30,31}; i[2]=0; for(i[0] = 1; i[0] < 12; i[0]++) { for(i[1] = 1; i[1] < a[i[0]-1]; i[1]++) { if(i[1]/10+i[1]%10==i[0]){i[2]++;} }} printf("%d\n",i[2]); return 0; }