#include <stdio.h>
int mdays(int y, int m);
int uruu(int year);
int main(void)
{
int y1, m1, d1, y2, m2, d2;
int i, j, days;
while(scanf("%d%d%d%d%d%d",&y1
,&m1
,&d1
,&y2
,&m2
,&d2
)){ if(y1<0 || m1<0 || d1<0 || y2<0 || m2<0 || d2<0)
break;
for(i=y1, days=0; i<=y2; i++)
for(j = (i != y1 ? 1: m1); j <= (i != y2 ? 12 : m2); j++)
days += mdays(i,j);
days -= d1;
days -= mdays(y2,m2) - d2;
}
return 0;
}
int mdays(int y, int m)
{
return 0;
}
int uruu(int y)
{
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWRheXMoaW50IHksIGludCBtKTsKaW50IHVydXUoaW50IHllYXIpOwoKaW50IG1haW4odm9pZCkKewogICAgaW50IHkxLCBtMSwgZDEsIHkyLCBtMiwgZDI7CiAgICBpbnQgaSwgaiwgZGF5czsKCiAgICB3aGlsZShzY2FuZigiJWQlZCVkJWQlZCVkIiwmeTEsJm0xLCZkMSwmeTIsJm0yLCZkMikpewogICAgICAgIGlmKHkxPDAgfHwgbTE8MCB8fCBkMTwwIHx8IHkyPDAgfHwgbTI8MCB8fCBkMjwwKQogICAgICAgICAgICBicmVhazsKICAgICAgICBmb3IoaT15MSwgZGF5cz0wOyBpPD15MjsgaSsrKQogICAgICAgICAgICBmb3IoaiA9IChpICE9IHkxID8gMTogbTEpOyBqIDw9IChpICE9IHkyID8gMTIgOiBtMik7IGorKykKICAgICAgICAgICAgICAgIGRheXMgKz0gbWRheXMoaSxqKTsKICAgICAgICBkYXlzIC09IGQxOwogICAgICAgIGRheXMgLT0gbWRheXMoeTIsbTIpIC0gZDI7CiAgICAgICAgcHJpbnRmKCIlZFxuIixkYXlzKTsKICAgIH0KCiAgICByZXR1cm4gMDsKfQoKaW50IG1kYXlzKGludCB5LCBpbnQgbSkKewogICAgcmV0dXJuIDA7Cn0KCmludCB1cnV1KGludCB5KQp7CiAgICByZXR1cm4gMDsKfQ==