Working input and intial output.