Input for integer and character too