Rather than instantiating a new `Integer`, a preferred syntax would be `gets.strip.to_i`. It's a little bit easier to read.