THIS IS NOT MY SOLUTION TO THE SECOND WEEKLY CHALLENGE. I just saw @MrEconomical golfed his at 326 something chars.
This solution currently sits at 122 chars (less than 326). Just put the input into STDIN.
@MrEconomical I'm pretty sure that it has to be a language on Repl.it...