n = read_line.strip.to_i printf "%03d\n", n