Reading an input and print the hash of input