@@ -5,7 +5,7 @@ while a:
a=a//3
if b == 0:
r.append(4)
- a-=1
+ a = a-1
else:
r.append(b)
r.reverse()