#include "stdio.h" int main(void){ int month=0; int day=0; int num=0; for(month=0;month<=12;month++){ for(day=0;day<=31;day++){ if(month==(day/10 + day%10)){ num++; }else{ ; } } } printf("%d\n",num); return 0; }