#include using namespace std; int main(){ int count = 0; vector day = {1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 3, 4}; for(int i=1;i<=12;i++){ for(int j=0;j 27){ break; } else if(i == 4 && j > 29 || i == 6 && j > 29 || i == 9 && j > 29 || i == 11 && j > 29){ break; } else if(i == day[j]){ count++; } } } cout << count << endl; }