func main() var ans: []char :: "0".repeat(10) for i(0, 9) var maxX: int :: 0 var maxD: int :: 0 for d(0, 9) do ans[i] :: '0'.offset(d) do cui@print("\{ans}\n") do cui@flush() var x: int :: cui@inputInt() var s: []char :: cui@input() if(x > maxX) do maxX :: x do maxD :: d end if end for do ans[i] :: '0'.offset(maxD) end for do cui@print("\{ans}\n") end func