#include<iostream>
#include<string>
#include<iterator>
using namespace std;
int main()
{
string a("hello world");
for(auto it = a.begin(); it != a.end() && !isspace(*it); it++ )
{
*it = toupper(*it);
}
cout<<a;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPHN0cmluZz4KI2luY2x1ZGU8aXRlcmF0b3I+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCkKewogICAgc3RyaW5nIGEoImhlbGxvIHdvcmxkIik7CiAgICBmb3IoYXV0byBpdCA9IGEuYmVnaW4oKTsgaXQgIT0gYS5lbmQoKSAmJiAhaXNzcGFjZSgqaXQpOyBpdCsrICkKICAgIHsKICAgICAgICAqaXQgPSB0b3VwcGVyKCppdCk7CiAgICB9CiAgICBjb3V0PDxhOwp9