More formatted string

In a large file i need last line of the file but I want ignore first charcter, ignore leading zeros after first character and print the remaining character as such. Is something i can do it by tail or wc?
cat test1
....
......
8000003687
cat test2
....
......
8000538990
o/p
3687
538990

awk 'END{print $0}' file| sed 's/^[0-9]0*\(.*\)/\1/g'

cheers,
Devaraj Takhellambam

Or:

awk 'END{printf("%d\n",int(substr($0,2)))}'

Regards

if its large file, use tail

tail -1 largefile | sed ......