This expression has type int but an expression was expected of type string Error: (from stdin - see message above)