repl.it
@anonymous/

VitalThatSidewinder

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
n=int;a,b=input().split(' ');x=n(a[4:]);y=n(b[4:]);t=k=0
for r in range(x,(n(b[:4])-n(a[:4]))*12+y+1):t+=1;k+=n('101010110101'[r%12-1])
print(k,t-k)
Fetching token
?