Untitled

 avatar
user_8840555
plain_text
a year ago
187 B
3
Indexable
from itertools import *

c = 1
for i in product('0123456789ABCDE', repeat=6):
    s = ''.join(i)
    if s.count('0') > 2 and s[-1] == '9' and '23' not in s:
        c += 1
print(c)