#include int main(void){ int m,d; int i,j; int A[12],ans; A[ 1-1] = 31; A[ 2-1] = 28; A[ 3-1] = 31; A[ 4-1] = 30; A[ 5-1] = 31; A[ 6-1] = 30; A[ 7-1] = 31; A[ 8-1] = 31; A[ 9-1] = 30; A[10-1] = 31; A[11-1] = 30; A[12-1] = 31; ans = 0; for(i=0;i<12;i++){ for(j=0;j