Go: package main

import (
	"bufio"
	"os"
	"strings"
	"fmt"
)

func main() {
	scanner := bufio.NewScanner(os.Stdin)
	scanner.Scan()
	input := scanner.Text()
	input = strings.ToUpper(input)
	fmt.Println(input)
}

C++: #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
#include <stack>
#include <functional>
#include <queue>
#include <cmath>

#define rep(i,j,k) for(int i=j;i<k;i++)
#define drep(n,m) for(int i=0;i<n;i++)for(int j=0;j<m;j++)
#define fi first
#define se second
#define vi vector<int>
#define INF 1000000000
#define MOD 1000000009
#define pb push_back
#define mp make_pair
typedef long long ll;
int dx[4]={0,1,0,-1},dy[4]={1,0,-1,0};

using namespace std;

ll gcd(ll a,ll b){
    if(a<b){
        int t=a;a=b;b=t;
    }
    int c=a%b;
    while(c!=0){
        a=b;
        b=c;
        c=a%b;
    }
    return b;
}

ll lcm(ll a,ll b){
    return a*b/gcd(a,b);
}

bool isPrime(int x){
    if(x==1)return false;
    if(x==2)return true;
    if(x%2==0)return false;
    for(int i=3;i<=sqrt(x);i+=2){
        if(x%i==0)return false;
    }
    return true;
}

int main() {
   string s;
   getline(cin,s);
   rep(i,0,s.length()){
       if('a'<=s[i]&&s[i]<='z'){
           s[i]-='a'-'A';
       }
   }
   cout<<s<<endl;
    
    return 0;
}

C++: #include <iostream>
#include <string>
#include <cstring>
using namespace std;
int main(){
	string str;int count=0;
	while(cin>>str){
		if(count++) cout << ' ' ;
		for(int i=0;i<str.size();i++)
		if(str[i]-'a'>=0 && str[i]-'z'<=0) str[i]=toupper(str[i]);
		cout << str ;
	};
	cout << '\n' ;
}

C++: #include <iostream>
#include <stdio.h>
using namespace std;

int main(){
	char c;
	while(cin >> c){
		if(c>='a' && c<='z') cout << (char)(c-32);//printf("%c",c-32)
		else if(c>='A' && c<='Z') cout << (char)(c+32);//printf("%c",c+32);
		else cout << c;
		if(c=='\n') break;
	}
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
#include<string.h>
using namespace std;

int main () {
	char *n;
	int end;
	
	gets(n);
	end = strlen(n);
	
	for ( int i = 0; i < end; i++ ) {
		if ( *( n + i ) >= 97 && *( n + i ) <= 122 ) {
			printf("%c",(*(n + i) - 32));
		} else {
			printf("%c",(*(n + i)));
		}
	}
	
}

C++: #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>

using namespace std; 

string small = "abcdefghijklmnopqrstuvwxyz .";
string big = "ABCDEFGHIJKLMNOPQRSTUVWXYZ .";

int main()
{
	string s, in="", ans="";
	int l;

	while(cin >> s){
		in = in+s+" ";
	}
	l = in.length();
	in = in.substr(0,l-1);

	for(int i=0; i<in.length(); i++){
		ans = ans + big.substr(small.find(in.substr(i,1)),1);
	}
	cout << ans << endl;
}

C++: #define _USE_MATH_DEFINES
#include <iostream>
#include <queue>
#include <vector>
#include <math.h>
#include <algorithm>
#include <iomanip>
#include <string>
#include <stack>
#include <cctype>
#include <cstdlib>
using namespace std;

int main(){
	string s;
	cin >> s;
	transform(s.begin(), s.end(), s.begin(), ::toupper);
	cout << s << endl;
	return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
using namespace std;

int main() {
	string str;
	getline(cin,str);
	transform(str.cbegin(), str.cend(), str.begin(), toupper);
	cout << str << endl;
	return 0;
}

C++: #include <cstdio>
#include <cstring>
#include <algorithm>
#include <functional>
using namespace std;

int main() {
	static char str[100000];
	scanf("%[a-z .]",str);
	for(int i = 0; str[i]; i++) {
		if('a' <= str[i] && str[i] <= 'z') str[i]+='A'-'a';
	}
	printf("%s\n",str);
	return 0;
}

C++: #include<iostream>
#include<ctype>
#include<string>
using namespace std;
int main(){
	string str;
	getline(cin, str);
	int str_size = str.size();
	for(int i=0;i<str_size;i++){
		if(islower(str[i]))
			str[i] = toupper(str[i]);
	}
	cout << str << endl;
	return 0;
}

C++: 
#include <iostream>
using namespace std;

int main(void)
{
	char c;
	string s;
	while(1)
	{
		cin.get(c);
		if( !(isalpha(c) || c==' ' || c=='.') )
			break;

		if(islower(c))c=toupper(c);
		s.push_back(c);
	}
	cout << s.c_str() << endl;
	return 0;
}

C++: // Name: Joseph McCullough
// Program: tolower
// Description: Turns a string to lowercase.
// Visit www.mcculloughdesigns.com/blog for more c++ tutorials!
// Feel free to use this code for whatever: Work, fun, cheating on homework.

#include <string>
#include <iostream>

using namespace std;
void lowerCase(string&);

const string SENTINEL = "0"; //Used to terminate program.

int main()
{
	string userInput;        //What the user will enter to lowercase.


	getline(cin, userInput);

	//while (userInput != SENTINEL)
	//{

		lowerCase(userInput);
		cout <<userInput << "\n";

		//cout << "\nEnter the string you wish to lowercase or 0 to quit: ";
		//getline(cin, userInput);


	//}

	//cout << "\n\nProgram terminated by User.\n";

	return 0;

}

/****** function lowerCase *****
Description: makes all the characters of a string lowercase

PARAMETERS
	strToConvert: the string being manipulated

Precondition:
	strToConvert: undefined

	HEADERS
	#include <string>

Postcondition:
	Returns the string all lowercase */

void lowerCase(string& strToConvert)
{
   for(unsigned int i=0;i<strToConvert.length();i++)
   {
      strToConvert[i] = toupper(strToConvert[i]);
   }
}

C++: #include <iostream>
#include <string>
using namespace std;

int main(void){
string str;
getline(cin,str);
for(int i=0;i<str.length();i++){
if('a'<=str[i]&&str[i]<='z')str[i]+='A'-'a';
}
cout<<str<<endl;
return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;

int main(){
	string str;
	getline(cin, str);
	for(int i = 0; i < str.size(); i++){
		if(str[i] < 90){
			continue;
		}
		else{
			str[i] -= 32;
		}
	}
	cout << str << endl;
	return 0;

C++: #include<iostream>
#include<string>
using namespace std;
int main()
{
    string str;
    while(getline(cin,str))
    {
        for(int i=0;i<str.length();++i){
            if(str[i]>='a'&&str[i]<='z')str[i]+=('A'-'a');
        }
            cout<<str<<endl;
    }
}

C++: #include<iostream>
#include<cstdio>
using namespace std;

int main(){
	char s[1000];
	cin.getline(s,sizeof(s));
	for(int i=0;s[i]!='\0';i++){
		if((s[i]!=' ')&&(s[i]!='.')){
			putchar(s[i]-'a'+'A');
		}else{
			putchar(s[i]);
		}
	}cout<<endl;
	return 0;
}

C++: /*****include*****/
#include <iostream>
#include <fstream>
#include <string>

/*****デバッグ定義*****/
//#define DEBUG
/*****マクロ定義*****/

/*****名前空間*****/
using namespace std;

/*****グローバル変数置き場*****/

/*****その他関数置き場*****/

/*****main関数*****/
int main(){
	/*****ファイルオープン*****/
#ifdef DEBUG
	ofstream fout("output.txt");
	ifstream fin("input.txt");
	if(!fout || !fin){
		cout << "Can't open the file.\n";
		return;
	}
#endif
	/*****変数置き場*****/
	char letter;
	/*****処理部*****/
	while(1){
		letter = getchar();
		if(letter == '\0')	break;
		if(islower((int)letter)){
			letter = toupper(letter);
		}
		putchar(letter);
	}
	/*****処理終了後*****/
#ifdef DEBUG
	fout.close();
	fin.close();
#endif
	return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;


int main() {
  int n;
  string str;

  while(cin >> str) {
    n = str.size();
    for(int i=0;i<n;i++) {
      if((str[i] <= 122) && (str[i] >= 97)) {
        str[i] -= 32;
      }
    }
    cout << str;
  }
  cout << endl;
}

C++: #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <sstream>
 #include<functional>

#define INPUT_FROM_FILE (0) 
#if INPUT_FROM_FILE
#include <fstream>
#endif

int main(int argc, char **argv){
	std::string str;

#if INPUT_FROM_FILE
	std::ifstream ifs("test.txt");
#endif

#if INPUT_FROM_FILE
	std::getline(ifs, str);
#else
	std::getline(std::cin, str);
#endif

	for(int i = 0; i < str.size(); i++){
		char c = str[i];
		if(c >= 'a' && c <= 'z'){
			str[i] = c - 'a' + 'A';
		}
	}
	std::cout << str << std::endl;
	return 0;
}