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