擅长:python、mysql、java
<p>尝试使用python发挥其优势:</p>
<pre><code>def solve():
n = input()
l = list(map(int,str(n)))
l = l[::-1]
#removing leading zeros
i = 0
while l[i] == 0:
i+=1
l = l[i:]
n = ('').join(str(x) for x in l)
return int(n)
if __name__ == "__main__":
print (solve())
</code></pre>