• + 3 comments

    Nice, it seems, you forgot another 28 lines of parsing.

    That's what I call one line:

    #!/usr/bin/env ruby
    
    gets && (puts gets.split.reverse.join(' '))