Traceback (most recent call last):
File "./prog.py", line 33, in <module>
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 10, in from_base_ten
File "./prog.py", line 4, in from_base_ten
RuntimeError: maximum recursion depth exceeded in comparison