#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
int main()
{
std::vector<std::string> currentSet =
{
"HEAT",
"COLD",
"WARMTH",
"COOLNESS",
};
std::string input;
std::getline(std::cin, input);
auto it = std::find(currentSet.begin(), currentSet.end(), input);
if (it == currentSet.end())
std::cout << '"' << input << "\" was not found.\n";
else
std::cout << '"' << input << "\" was at index " << it - currentSet.begin() << " in currentSet\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8YWxnb3JpdGhtPgoKCgppbnQgbWFpbigpCnsKICAgIHN0ZDo6dmVjdG9yPHN0ZDo6c3RyaW5nPiBjdXJyZW50U2V0ID0KICAgIHsKICAgICAgICAiSEVBVCIsCiAgICAgICAgIkNPTEQiLAogICAgICAgICJXQVJNVEgiLAogICAgICAgICJDT09MTkVTUyIsCiAgICB9OwoKICAgIHN0ZDo6c3RyaW5nIGlucHV0OwogICAgc3RkOjpnZXRsaW5lKHN0ZDo6Y2luLCBpbnB1dCk7CgogICAgYXV0byBpdCA9IHN0ZDo6ZmluZChjdXJyZW50U2V0LmJlZ2luKCksIGN1cnJlbnRTZXQuZW5kKCksIGlucHV0KTsKCiAgICBpZiAoaXQgPT0gY3VycmVudFNldC5lbmQoKSkKICAgICAgICBzdGQ6OmNvdXQgPDwgJyInIDw8IGlucHV0IDw8ICJcIiB3YXMgbm90IGZvdW5kLlxuIjsKICAgIGVsc2UKICAgICAgICBzdGQ6OmNvdXQgPDwgJyInIDw8IGlucHV0IDw8ICJcIiB3YXMgYXQgaW5kZXggIiA8PCBpdCAtIGN1cnJlbnRTZXQuYmVnaW4oKSA8PCAiIGluIGN1cnJlbnRTZXRcbiI7Cn0K