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