# your code goes here
s = ["test"];
#s = "test";
isString = False;
if(isinstance(s, str)):
isString = True;
try:
if(isinstance(s, basestring)):
isString = True;
except NameError:
pass;
if(isString):
print("String");
else:
print("Not String");
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCnMgPSBbInRlc3QiXTsKI3MgPSAidGVzdCI7CmlzU3RyaW5nID0gRmFsc2U7CgppZihpc2luc3RhbmNlKHMsIHN0cikpOgoJaXNTdHJpbmcgPSBUcnVlOwoKdHJ5OgoJaWYoaXNpbnN0YW5jZShzLCBiYXNlc3RyaW5nKSk6CgkJaXNTdHJpbmcgPSBUcnVlOwpleGNlcHQgTmFtZUVycm9yOgoJcGFzczsKCmlmKGlzU3RyaW5nKToKCXByaW50KCJTdHJpbmciKTsKZWxzZToKCXByaW50KCJOb3QgU3RyaW5nIik7