import strutils let c = readLine stdin c2 = c.replace "0" echo c2.high