function f(n) { while ((n /= 10) > 1)  print n }
function g(n) { print "g", n }
{ f($1); g($1) }