How To Take Integer Input In Ruby