#T7777. 计算两个日期之间的天数

计算两个日期之间的天数

Background

小贝给定两个日期,请计算相差的天数。比如 2010-1-1 和 2010-1-3 相差 共两行:

Description

Given two integers x and y, print the sum.

Format

Input

第一行包含三个整数 startYear,startMonth,startDay,分别是起始年、月、日。第二行包含三个整数 r**endYear,endMonth,endDay,分别是结束年、月、日。

相邻两个整数之间用单个空格隔开。年份范围在 1∼3000。保证日期正确且结束日期不早于起始日期。2 天。

Output

输出一个整数,即是两个日期相差的天数。

Samples

2008 1 1
2009 1 1
366

Limitation

1s, 1024KiB for each test case.