def Bin(a):
	if a==0:
		return '0'
	return (bin(a)[2:])[::-1]

nbJours = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

for year in range(0, 400):
	for month in range(0, 12):
		nJours = nbJours[month]
		
		if month == 1:
			if year == 0 or (year % 100 != 0 and year % 4 == 0):
				nJours += 1
		
		for day in range(0, nJours):
			print("{:0<32}".format(Bin(day)))
			print("{:0<32}".format(Bin(month)))
			print("{:0<32}".format(Bin(year)))
			

7dcd19850e791c5a9237413c41ecb6eff4eed9d6
<mask token>

def Bin(a):
    if a == 0:
        return '0'
    return bin(a)[2:][::-1]


<mask token>

def Bin(a):
    if a == 0:
        return '0'
    return bin(a)[2:][::-1]


<mask token>
for year in range(0, 400):
    for month in range(0, 12):
        nJours = nbJours[month]
        if month == 1:
            if year == 0 or year % 100 != 0 and year % 4 == 0:
                nJours += 1
        for day in range(0, nJours):
            print('{:0<32}'.format(Bin(day)))
            print('{:0<32}'.format(Bin(month)))
            print('{:0<32}'.format(Bin(year)))

def Bin(a):
    if a == 0:
        return '0'
    return bin(a)[2:][::-1]


nbJours = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
for year in range(0, 400):
    for month in range(0, 12):
        nJours = nbJours[month]
        if month == 1:
            if year == 0 or year % 100 != 0 and year % 4 == 0:
                nJours += 1
        for day in range(0, nJours):
            print('{:0<32}'.format(Bin(day)))
            print('{:0<32}'.format(Bin(month)))
            print('{:0<32}'.format(Bin(year)))

def Bin(a):
	if a==0:
		return '0'
	return (bin(a)[2:])[::-1]

nbJours = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

for year in range(0, 400):
	for month in range(0, 12):
		nJours = nbJours[month]
		
		if month == 1:
			if year == 0 or (year % 100 != 0 and year % 4 == 0):
				nJours += 1
		
		for day in range(0, nJours):
			print("{:0<32}".format(Bin(day)))
			print("{:0<32}".format(Bin(month)))
			print("{:0<32}".format(Bin(year)))
			
