'<' not supported between instances of 'str' and 'int'