Go: package main

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

func main() {
        var s string
        sc := bufio.NewScanner(os.Stdin)
        sc.Scan()
        s = sc.Text()
        fmt.Println(strings.ToUpper(s))
}

C++: #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main(){
	string s;
	getline(cin, s);
	transform(s.begin(), s.end(), s.begin(), ::toupper);
	cout << s << endl;
	return 0;
}

C++: #include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <algorithm>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <numeric>
#include <cmath>
#include <climits>
#include <limits>
#include <cfloat>
#include <fstream>
using namespace std;

int main()
{
//	cut here before submit 
//	freopen("testcase.cl", "r", stdin);
	string str = "";

	int i;
	while (getline (cin, str ) ){
		if ( isupper(str[0]) ){
			cout << "The converted text." << endl;
		}else{
			for (i = 0; i < str.length(); ++i){
				if ( isalpha(str[i]) ){
					str[i] = toupper(str[i]);
				} // end if
			} // end for
			cout << str << endl;
		} // end if
	} // end while
		
	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 ('a' <= str[i] && str[i] <= 'z') {
			str[i] -= 32;
		}
	}
	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.length();i++){
    if(str[i] >= 'a' && str[i] <= 'z'){
      str[i] -= 32;
    }
  }
    cout << str << endl;
  
}

C++: /*************************************************************************
	> File Name: 1.cpp
	> Author: ralph
	> Mail: 1694487365@qq.com
	> Created Time: 2018年12月26日 星期三 19时15分24秒
 ************************************************************************/

#include<bits/stdc++.h>
using namespace std;
char s[100000];
int main()
{
    scanf("%s",s);
    int len=strlen(s);
    for(int i=0;i<len;i++)
    {
        if(s[i]>='a'&&s[i]<='z')
        {
            s[i]-=32;
        }
    }
    cout<<s;
}

C++: #include <iostream>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <string>
#include <math.h>
#include <functional>
#include <algorithm>

typedef long long Int;
#define REP(i,n) for(int i = 0 ; i < n ; ++i)
using namespace std;

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

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

using namespace std;

int main() {
    while(true) {
        string str;
        getline(cin, str);
        if(str == "") break;

        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>
#include<ctype>

using namespace std;

int main()
{
	char a;
	
	for(;cin.get(a);)
	{
		if(a=='\n')
			break;
		a=toupper(a);
		cout << a ;
	}
}

C++: #include<iostream>
#include<string>
#include<cctype>

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

C++: #include<iostream>
using namespace std;
int main() {
    char c;
    while (cin.get(c)){
        if      (c == 'a'){
            c = 'A';
        }
        else if (c == 'b') {
            c = 'B';
        }
        else if (c == 'c') {
            c = 'C';
        }
        else if (c == 'd') {
            c = 'D';
        }
        else if (c == 'e') {
            c = 'E';
        }
        else if (c == 'f') {
            c = 'F';
        }
        else if (c == 'g') {
            c = 'G';
        }
        else if (c == 'h') {
            c = 'H';
        }
        else if (c == 'i') {
            c = 'I';
        }
        else if (c == 'j') {
            c = 'J';
        }
        else if (c == 'k') {
            c = 'K';
        }
        else if (c == 'l') {
            c = 'L';
        }
        else if (c == 'm') {
            c = 'M';
        }
        else if (c == 'n') {
            c = 'N';
        }
        else if (c == 'o') {
            c = 'O';
        }
        else if (c == 'p') {
            c = 'P';
        }
        else if (c == 'q') {
            c = 'Q';
        }
        else if (c == 'r') {
            c = 'R';
        }
        else if (c == 's') {
            c = 'S';
        }
        else if (c == 't') {
            c = 'T';
        }
        else if (c == 'u') {
            c = 'U';
        }
        else if (c == 'v') {
            c = 'V';
        }
        else if (c == 'w') {
            c = 'W';
        }
        else if (c == 'x') {
            c = 'X';
        }
        else if (c == 'y') {
            c = 'Y';
        }
        else if (c == 'z') {
            c = 'Z';
        }
        cout.put(c);
    }
}

C++: #include <iostream>

using namespace std;

int main()
{
	string s;
	bool bre = false, f = false;

	while (1){
		cin >> s;	

		for (int i = 0; i < s.size(); i++){
			if (s[i] == '.') bre = true;
			else if ('a' <= s[i] && s[i] <= 'z') s[i] += 'A' - 'a';	
		}
		if (!f){
		 cout << s;
		 f = true;
		}
		else cout << " " << s;
		if (bre) break;
	}
	cout << endl;
	return (0);
}

C++: #include <stdio.h>
#include <string.h>

int main ()
{
	char str[200];
	
	while (gets (str))
	{
	
		int length = strlen (str);
	
		for (int i = 0; i < length; i++)
		{
			if (str [i] >= 'a' && str [i] <= 'z')
				str [i] -= 32;
		}
		puts(str);
	}
	return 0;
}

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

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

int main()
{
	solve();
	return(0);
}

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

int main(){
    
    string imput;
    getline(cin, imput);
    for (int i = 0; i < imput.size(); i++) {
        if (islower(imput[i])) {
            imput[i] = toupper(imput[i]);
        }
    }
    cout << imput << endl;
    return 0;
}

C++: #include<cstdio>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;
int main(void)
{
	int len,i,j;
	char s;
	while(scanf("%c",&s)!=EOF) {
		if(s==' ' || s=='.') printf("%c",s);
		else{
			s=s-('a'-'A');
			printf("%c",s);
		}
	}
	printf("\n");
	return 0;
}

C++: #include <iostream>
#include <iomanip>
#include <list>
#include <map>
#include <algorithm>
#include <stack>
#include <string>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>

using namespace std;


int main(){
	string tmp;
	while(getline(cin,tmp,'\n')){
		for(string::iterator it = tmp.begin(); it != tmp.end(); it++){
			if(*it >= 'a' && *it <= 'z'){
				*it -= 32;
			}
		}

		cout << tmp << endl;
	}

	return 0;
}

C++: #include<iostream>
#include<iomanip>
#include<vector>
#include<queue>
#include<list>
#include<stack>
#include<algorithm>
#include<cmath>
#include<memory>
#include<string>

using namespace std;

char cap( char c )
{
  if ( c >= 'a' && c <= 'z' )
    return c - 0x20;
  else if ( c >= 'A' && c <= 'Z' )
    return c + 0x20;
  else
    return c;
}

int main()
{
  string s;
  
  getline( cin, s );

  for ( auto i = 0; i < s.size(); ++i )
    s[i] = cap( s[i] );
  
  cout << s << endl;
  
  return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>


using namespace std;


int main(){
	string str;

	getline(cin, str);
	transform(str.begin(), str.end(), str.begin(),toupper);
	cout << str << endl;


}