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<cctype>

using namespace std;

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

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

using namespace std;
 
int main(){
    string a;
 
    while(getline(cin, a)){
		  for(int i = 0; i < a.size(); ++i)
	    if('a'<=a[i] && a[i]<'z') a[i]-=('a'-'A');
		cout << a;
    }
 
    return 0;
}

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

using namespace std;

char s[10000];

int main()
{
	gets(s);
	int l = strlen(s);
	for(int i = 0; i < l; i++)
	{
		if('a' <= s[i] && s[i] <= 'z')
		{
			s[i] = (int)s[i] - 'a' + 'A';
		}
	}
	printf("%s\n",s);
	return 0;
}

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

using namespace std;

int main() {
	string line;

	getline(cin, line);

	for (auto& a : line) {
		if (a >= 'a' && a <= 'z') {
			// 大文字のほうがASCIIコード上で小さい値
			a -= 'a' - 'A';
		}
	}

	cout << line << endl;

	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<cstdio>

int main(void) {
	char input[101];
	int s = 'a' - 'A', i;
	
	fgets(input, 100, stdin);
	for(i = 0; input[i] != 0; i++) {
		if(input[i] > 'a' && input[i] < 'z') { input[i] -= s; }
	}
	printf("%s\n", input);
	
	return 0;
}

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

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

int main(void)
{
	string str;

	getline(cin, str);

	int ary_size = str.length();

	for(int i=0; i<ary_size; i++){

		if(str[i] == '.' || str[i] == ' '){
			continue;
		}else{
			str[i] = toupper(str[i]);
		}
	}

	cout << str << endl;
}

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] >= 'a' && str[i] <= 'z')
			str[i] += 'A'-'a';

	cout << str << endl;

	return 0;
}

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

int main(){
	char out[100];
	char letters[100];
	int i = 0;
	while(true){
	cin >> letters;

	if(cin.eof()) break;
	for(i; i <= (strlen(letters));i++){
		if(letters[i]>=97&&letters[i]<=122) out[i] = (char)(letters[i]-32) ;
		else out[i] = (char)letters[i];
	}
	letters[i] = ' ';
	}
	for(int j =0;j<=i;j++)cout << out[j];
	cout << endl;
	return 0;
	
}

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<iostream>
#include<cstdio>
#include<cstring>
#include<string>
using namespace std;

int main(){
   char str[500];
   int i;
   fgets(str,499,stdin);
   
   for(i=0;i<500;i++){
      if(str[i]>=97&&str[i]<=122)
         str[i]-=32;
   }
   printf("%s",str);
   return 0;
}

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

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

int main() {
	string sentence;
	getline(cin, sentence);
	for (int i = 0;i<sentence.size() ; i++) {
		if (sentence[i] >= 97 && sentence[i] <= 122)sentence[i] = sentence[i] - 32;
	}
	cout << sentence << endl;
}

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;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<queue>
#include<map>
#include<math.h>
#include<iomanip>
#include<set>
#include<numeric>
#include<cstring>
#include<cstdio>
#include<functional>
#include<bitset>
#include<limits.h>
#include<cassert>
#include<iterator>
#include<complex>
#include<stack>
#include<sstream>
#include<iterator>
#include<list>
using namespace std;
typedef  long long int lint;
//typedef pair<int, int> IP;
typedef pair<lint, lint> LLP;
typedef pair<char, char>CP;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define sort(v) sort((v).begin(), (v).end())
#define reverse(v) reverse((v).begin(), (v).end())
#define upper(v,hoge) upper_bound(v.begin(),v.end(),hoge)
#define lower(v,hoge) lower_bound(v.begin(),v.end(),hoge)
#define llower(v,hoge) *lower_bound(v.begin(), v.end(), hoge)
#define lupper(v,hoge) *upper_bound(v.begin(), v.end(), hoge)
#define mp make_pair
#define P pair<int,int>

int main() {
	string S;
	getline(cin, S);
	rep(i, S.size()) {
		if (S[i] != ' '&&S[i]!='.') {
			S[i] = char(S[i] + ('A' - 'a'));
		}
	}
	cout << S << endl;
}

C++: #include <iostream>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <math.h>
using namespace std;

int main(){

char ch;

while(1){
	scanf("%c", &ch);
	if ( ch == '\n' ) break;
	char d=toupper(ch);
	cout<<d;
}
}

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

int n;
char buf[10000];
string ans;

int main() {
  fgets(buf, 1000, stdin);
  n = strlen(buf);

  for (int i=0; i<n; i++) {
    char c = buf[i];
    if ('a' <= c && c <= 'z') {
      ans += 'A'+(c-'a');
    } else ans += c;
  }

  printf("%s", ans.c_str());
}

C++: #import<cstdio>
int main(){for(int c;~(c=getchar());putchar(c>96?c-32:c));}

C++: #include<iostream>
using namespace std;
int main(){
char c;
while(c=cin.get()){
if(97<=c&&c<=122)c-=32;
else if(c==32||c==46);
else break;
cout<<c;
}
return 0;
}

C++: #include<stdio.h>
int main(){for(char c;scanf("%c",&c)!=-1;)putchar((c>96)?(c-32):c);}

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

int main() {
  string s;
  getline(cin, s);
  transform(s.begin(), s.end(), s.begin(), (int (*)(int))toupper);
  cout << s << endl;
}

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

int main(){
	string x;
  	int i, count = 0;
   	while(cin >> x){
     	for(i = 0;i < x.size();i++){
        	if(x[i] >= 'a' && x[i] <= 'a'+25){
          		x[i] = 'A' + (int)(x[i] - 'a');
        	}
      	}
    	if(count == 0){
      		cout << x ;
    	}
    	else cout << " " << x ;
      	count++;
  	}
  	cout << endl;

	return 0;
}

C++: #include <cstdio>

bool is_alphabet(char data) {
	if ('a' <= data && data <= 'z') {
		return true;
	}
	return false;
}

int main(int argc, char *argv[]) {
	char msg[1000];
	fgets(msg, 500, stdin);
	for (int i = 0; i < 500; i++) {
		if (is_alphabet(msg[i])) {
			msg[i] -= 32;
		}
		if (msg[i] == '\0') {
			break;
		}
	}
	printf("%s", msg);
	
	return 0;
}

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

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

	return 0;
}

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