#include <iostream>
#include <string>
#include <algorithm>
#include <functional>
#include <locale>
int main()
{
std::string a = "ABC";
std::transform(a.begin(), a.end(), a.begin(),
std::bind2nd(std::ptr_fun(&std::tolower<char>), std::locale("")));
std::cout << a << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8ZnVuY3Rpb25hbD4KI2luY2x1ZGUgPGxvY2FsZT4KCmludCBtYWluKCkKewogICAgc3RkOjpzdHJpbmcgYSA9ICJBQkMiOwoKICAgIHN0ZDo6dHJhbnNmb3JtKGEuYmVnaW4oKSwgYS5lbmQoKSwgYS5iZWdpbigpLCAKICAgICAgICBzdGQ6OmJpbmQybmQoc3RkOjpwdHJfZnVuKCZzdGQ6OnRvbG93ZXI8Y2hhcj4pLCBzdGQ6OmxvY2FsZSgiIikpKTsKCiAgICBzdGQ6OmNvdXQgPDwgYSA8PCBzdGQ6OmVuZGw7Cn0=