#include<iostream>
#include<string>
#include<cctype>
using namespace std;
class processor{
    public:
    static int count ;
    static std ::string convert(std::string s){
        
        c=toupper(c);
    }
    count++;
    return s;
}
};
int processor :: count = 0;
int main (){
    int n;
    std::cin >>n;
    while(n--){
        std::string str;
        str::cin>>str;
        std::cout<<processor::convert(str)<<std::endl;
    }
    return 0;
}