func main() var s: []char :: cui@input() do s[^s - 1] :: '1'.offset(s[^s - 1] = '0' ?(0, -1)) do cui@print("\{s}\n") end func