#include <iostream>

int main() {
    char ch;
    while (std::cin >> ch) {
        std::cout << static_cast<char>(tolower(ch)) << std::endl;
    }
    return 0;
}