import datetime

num_sundays = 0
for year in range(1901, 2001):
	for month in range(1, 13):
		if datetime.date(year, month, 1).weekday() == 6:
			num_sundays += 1

if __name__ == "__main__":
    print(num_sundays)

