Finished fixing input and output. WE WIN AT LIFE