"000".upto("999"){|s| puts s STDOUT.flush gets[?u]&&exit }