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<cstdlib>
#include<cstdio>
using namespace std;
int main(){
  char str;
  while(1){
    str=getchar();
    if(str=='.'){
      cout<<str;
      break;
    }
    if(str==' '){
      cout<<" ";
    }else if(str>='a'&&str<='z'){
      str=str-32;
      cout<<str;
    }
  }
  cout<<endl;
  return 0;
}

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

int main(){
  int i = 0;
  char str[129], str2[129];
  
  fgets(str, 128, stdin);

  while(1){
    if(str[i] == '.'){
      str2[i] = '.';
    }else if(str[i] == ' '){
      str2[i] = ' ';
    }else if(str[i] == '\n'){
      str2[i] = '\0';
      break;
    }else{
      str2[i] = str[i] - 'a' + 65;
    }

    i++;
  }
  
  cout << str2 << endl;

  return 0;
}

C++: #include<iostream>
#include<cstdlib>
using namespace std;
int main(){
  char str;
  while(1){
    str=getchar();
    if(str=='.'){
      cout<<str;
      break;
    }
    if(str==' '){
      cout<<" ";
    }else if(str>='a'&&str<='z'){
      str=str-32;
      cout<<str;
    }
  }
  cout<<endl;
  return 0;
}

C++: #include "bits/stdc++.h"
#include<unordered_map>
#pragma warning(disable:4996)
using namespace std;

struct ToUpper {
	char operator()(char c) { return toupper(c); }
};

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

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

int main() {
	string s;
	getline(cin,s);
	for(int i=0;i<=s.size();i++){
		if(isalpha(s[i]))
			putchar(toupper(s[i]));
		else putchar(s[i]);
	}cout<<endl;
}

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

int main ()
{
    string str;
    getline (cin, str);
    for (int i = 0; i < str.size(); i++ )
        putchar(toupper(str[i]));
    cout << endl;

    return 0;
}

C++: #include <bits/stdc++.h>
#include <stdint.h>

typedef uint32_t u32;
typedef uint64_t u64;

int main() {

  std::string str;
  std::getline(std::cin, str);
  for(u32 i = 0; i < str.size(); ++i) {
    if( 'a' <= str[i] and str[i] <= 'z' ) {
      str[i] ^= 0x20;
    }
  }

  std::cout << str << std::endl;
  
  return 0;
}

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

int main(){
  int i = 0;
  char str[129], str2[129];
  
  fgets(str, 128, stdin);

  while(1){
    if('A' < str[i] && str[i] < 'Z'){
      str2[i] = str[i] - 0;
    }else if(str[i] == '.'){
      str2[i] = '.';
    }else if(str[i] == ' '){
      str2[i] = ' ';
    }else if(str[i] == '\n'){
      break;
    }else{
      str2[i] = str[i] - 'a' + 65;
    }

    i++;
  }
  
  cout << str2 << endl;

  return 0;
}

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

int main(void){
	std::string translated_data;
	std::getline(std::cin,translated_data);
	for(int i=0;i<translated_data.size();i++)
		translated_data[i]=toupper(translated_data[i]);
	std::cout<<translated_data<<std::endl;
	return 0;
}

C++: #include<stdio.h>
#include<string.h>
int main(void) {
	int a;
	char str[100];
	scanf("%[^\n]", str);
	for (int i = 0; i <= strlen(str); i++)
	{
		if (str[i] >= 97 && str[i] <= 122)
		{
			str[i] = str[i] - 32;
		}
		printf("%c", str[i]);
	}
	return 0;
}

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

int main(){
	string in;
	int c;
	while(in[c]!='\0'){
		in[c]=toupper(in[c]);
		c++;
		}
	while(cin>>in){
		c=0;cout<<" ";
		while(in[c]!='\0'){
			in[c]=toupper(in[c]);
			c++;
		}
		cout<<in;
	}

}

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

int main(void){
	int i,j,k,n;
	string str;
	while(getline(cin,str)){
		for(i=0;i<str.size();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[1000];
	int i=0 ;
	while(1){
		cin >> str[i];
		for(unsigned int j=0 ; j<str[i].size() ; j++){
			if(str[i][j]!='.'){
				str[i].at(j) = str[i][j] + ('A'-'a');
			}
		}
		if(str[i][ str[i].size()-1 ]=='.'){
			break;
		}
		i++;
	}
	for(int j=0 ; j<=i ; j++){
		cout << str[j] ;
		if(j==i) cout << endl;
		else       cout << " ";
	}
	return 0;
}

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

int main(){
	while(true){
	char letters[100];
	cin >> letters;
	if(cin.eof()) break;
	for(int i = 0; i <= (strlen(letters)-1);i++){
		if(letters[i]>=97&&letters[i]<=122) cout << (char)(letters[i]-32) ;
		else cout << (char)letters[i];
	}
	cout << " ";
	}
	cout << endl;
	return 0;
	
}

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

int main () {
	char n[128];
	int end;
	
	gets(n);
	end = strlen(n);
	
	for ( int i = 0; i < end + 1; i++ ) {
		if ( n[i] >= 97 && n[i] <= 122 ) {
			printf("%c",(n[i] - 32));
		} else {
			printf("%c",n[i]);
		}
	}
	cout << endl;
	return 0;
}

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

using namespace std;

const int N = 100000;

char str[N];

bool isLowerLetter(const char &ch) {
	return ch >= 'a' && ch <= 'z';
}

int main() {
	while (cin.getline(str, N, '\n')) {
		for (int i=0; i<strlen(str); ++i) {
			if (isLowerLetter(str[i])) str[i] = str[i] - 'a' + 'A';
		}
		cout<<str<<endl;
	}
	return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <vector>
#include <list>
#include <algorithm>
#include <cmath>
#include <stack>
#include <set>
using namespace std;

#define REP(i,n) for(int (i)=0; (i)<(n); (i)++)
#define FOR(i,a,b) for(int (i)=(a); (i)<(b); (i)++)
#define PUSH(n,v) for(int i=0; i<(n); i++) {int j; cin >> j; v.push_back(j);}
#define ALL(v) v.begin(), v.end()

int main() {
    string s;
    getline(cin, s);
    REP(i,s.length()) {
        if (islower(s[i])) cout << toupper(s[i]);
        else cout << s[i];
    }
    return 0;
}

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

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

char str[10000];
int i = 0;

int sort(const void *a, const void *b){
  return *(int*)b - *(int*)a;
}

int main(){
  scanf("%[^\n]", str);
  while(str[i] != '\0'){
    str[i] = toupper((unsigned char) str[i]);
    i++;
  }
  printf("%s\n", str);
  return 0;
}

C++: # include <iostream>
# include <algorithm>
# include <vector>
# include <string>
# include <set>
# include <map>
# include <cmath>
# include <iomanip>
# include <functional>
# include <utility>
# include <stack>
# include <queue>
# include <list>
# include <bitset>
# include <complex>
# include <numeric>
using namespace std;
using LL = long long;
using ULL = unsigned long long;
constexpr long long MOD = 1000000000 + 7;
constexpr int INF = 2000000000;
constexpr int HINF = INF / 2;
constexpr double DINF = 100000000000000000.0;
constexpr long long LINF = 9223372036854775807;
constexpr long long HLINF = 4500000000000000000;
const double PI = acos(-1);

int main() {
	string s;
	getline(cin, s);
	for (int i = 0; i < s.size(); i++) {
		if ('a' <= s[i] && s[i] <= 'z')cout << char(s[i] - 32);
		else cout << s[i];
	}
	cout << endl;
}