Input is working

Implementation might be questionable but but