#include #include int main() { int year, month1, day1, month2, day2; int days_between(int, int, int, int, int); while (scanf("%d %d %d %d %d", &year, &month1, &day1, &month2, &day2) != EOF) { int res = days_between(year, month1, day1, month2, day2); printf("%d\n", res); } return EXIT_SUCCESS; }