Week1 Task1 input parsing