#include <bits/stdc++.h>   int days[200][12];   int v[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};   void swap(int &a, int &b) {     int t = a;     a = b;     b = t;   }   struct year {     int y;     int m;     int d;     bool operator>(year &next) {       if (this->y > next.y)         return true;       else if (this->y < next.y)         return false;       if (this->m > next.m)         return true;       else if (this->m < next.m)         return false;       return this->d > next.d;     }     void inc() {       if (++this->d >= days[this->y][this->m]) {         this->d = 0;         if (++this->m >= 12) {           this->m = 0;           ++this->y;         }       }     }   };   int main() {     for (int i = 0; i < 139; i++)       for (int j = 0; j < 12; j++) {         days[i][j] = v[j];         if (j == 1 && i % 4 == 0) days[i][1] = 29;       }     days[0][1] = 28;     year y[2];     for (int i = 0; i < 2; i++) {       scanf( %d:%d:%d , &y[i].y, &y[i].m, &y[i].d);       y[i].y -= 1900;       y[i].m--;       y[i].d--;     }     year *a, *b;     if (y[0] > y[1]) {       a = &y[1];       b = &y[0];     } else {       a = &y[0];       b = &y[1];     }     int cnt = 0;     while (a->y != b->y || a->m != b->m || a->d != b->d) {       a->inc();       cnt++;     }     printf( %d n , cnt);     return 0;   }   