import cowsay
a=input("Please,enter year(AD year):\n")
b=input("Please,enter your name:\n")
i1=1912
while i1<=3000 :
if int(a)==i1 :
m1=cowsay.get_output_string("tux",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m1)
break
else:
i1+=12
continue
i2=1913
while i2<=3000 :
if int(a)==i2 :
m2=cowsay.get_output_string("cow",f"Happy New Year,dear {b},I hope you have a year full of health and happiness :)")
print(m2)
break
else:
i2+=12
continue
i4=1914
while i4<=3000 :
if int(a)==i4 :
m4=cowsay.get_output_string("meow",f"Happy New Year, dear {b}, I hope you have a year full of health and happiness :)")
print(m4)
break
else:
i4+=12
continue
i5=1915
while i5<=3000 :
if int(a)==i5 :
m5=cowsay.get_output_string("turtle",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m5)
break
else:
i5+=12
continue
i6=1916
while i6<=3000 :
if int(a)==i6 :
m6=cowsay.get_output_string("dragon",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m6)
break
else:
i6+=12
continue
i7=1917
while i7<=3000 :
if int(a)==i7 :
m7=cowsay.get_output_string("octapus",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m7)
break
else:
i7+=12
continue
i8=1918
while i8<=3000 :
if int(a)==i8 :
m8=cowsay.get_output_string("kitty",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m8)
break
else:
i8+=12
continue
i9=1919
while i9<=3000 :
if int(a)==i9 :
m9=cowsay.get_output_string("cheese",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m9)
break
else:
i9+=12
continue
i10=1920
while i10<=3000 :
if int(a)==i10 :
m10=cowsay.get_output_string("daemon",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m10)
break
else:
i10+=12
continue
i21=1921
while i21<=3000 :
if int(a)==i21 :
m21=cowsay.get_output_string("turkey",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m21)
break
else:
i21+=12
continue
i22=1922
while i22<=3000 :
if int(a)==i22 :
m22=cowsay.get_output_string("fox",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m22)
break
else:
i22+=12
continue
i23=1923
while i23<=3000 :
if int(a)==i23 :
m23=cowsay.get_output_string("pig",f"Happy New Year, dear {b} , I hope you have a year full of health and happiness :)")
print(m23)
break
else:
i23+=12
continue