#include <iostream>
using namespace std;
int main ()
{
int year,month,day,result=0;
cin>>year>>month>>day;
int arr[12]={31,28,31,30,31,30,31,31,30,31,30,31};
for(int i=0;i<month-1;i++)
result+=arr[i];
result+=day;
if((year%4==0 && year%100!=0) || year%400==0)
if(month>2) result++;
cout<<result<<endl;
return 0;
}
0.0分
4 人评分