Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = ''
- x = 6**1333 - 5*6**1215 + 3*6**144 - 86
- while(x>0):
- s = str(x%6)+s
- x = x//6
- print(s)
- print(s.count('5'))
- print(s.count('4'))
- print(s.count('3'))
- print(s.count('2'))
- print(s.count('1'))
- k = 258*5 + 1*4 + 2*3 + 1*2 + 1*1
- print(k)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement