Python
#{ from random import * n = randint(0,1) j = 0 for i in range(200): m = n n = randint(0,1) if m == n: j = j + 1 if j >= 6: mm = "YES" else: j = 0 print(n) if mm == "YES": print(mm) else: print("NO") #}