I am trying to do costum base conversion in python. I am converting below from base 39(costum) to base 10(decimal) and back. It works fine, except i lose the last letter of