#include<iostream>
#include<string>
using namespace std;
int main() {
class Solution {
public:
bool isUpper(char& c) {
return (c >= 'A' && c <= 'Z');
}
string toLowerCase(string str) {
for (auto &c : str) {
if (isUpper(c)) {
c = 'a' + c - 'A';
}
}
return str;
}
};
Solution a;
string str = "HELLow";
string str1=a.toLowerCase(str);
cout << str1;
system("pause");
}