#include <cctype>
#include <cstdio>
#include <iostream>
using namespace std;

int main() {
    char ch;
    while ((ch=getchar())!=EOF) {
        getchar();
        ch=tolower(ch);
        cout<<ch<<endl;
    }
    return 0;
}