08有几个闰年

我们输入三个年份判断其中闰年的个数,输出其中有几个闰年 

Input

输入三个整数a,b,c

Output

输出其中闰年的个数

Examples

Input

2000 2001 2004

Output

2

来源

lema
Time limit 1 second
Memory limit 128 MB
讨论 统计