#include #include int main() { int month[12]; int day[31]; int ans = 0; int i; int j; int n; int m; for (i = 0; i < 12; i++) { month[i] = i + 1; } for (j = 0; j < 31; j++) { day[j] = j + 1; } for (n = 0; n < 12; n++) { for (m = 0; m < 28; m++) { if (month[n] ==(floor(day[m] / 10) + day[m] % 10)) { ans += 1; } } ans += 2; } printf("%d\n", ans); return 0; }