Go: package main

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

var scanner = bufio.NewScanner(os.Stdin)

func nextString() string {
	scanner.Scan()
	return scanner.Text()
}

func main() {
	scanner.Split(bufio.ScanLines)

	line := nextString()

	fmt.Println(strings.ToUpper(line))
}

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


int main(){
	std::string word, ans;

	std::getline(cin, word);
	std::transform(word.begin(), word.end(), word.begin(), toupper);
	std::cout << word << endl;

	return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <cstring>
#include <cctype>
#include <string>
#include <algorithm>
#define CHAR_NUM 80
using namespace std;

int main(void) {
    int i = 0;
    char str[256];
    
    while((str[i] = getchar()) != '\n') {
        str[i] = toupper(str[i]);
        i++;
    }
    cout << str;
    
    return(0);
}

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

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

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

#define MAX 100000
char ss[MAX];

int main()
{
    //string ss;
    //scanf("%s",ss);

    //cin >> ss;
    char temp;
    for(int i= 0;i<MAX;++i)
    {
        scanf("%c",&temp);
        if(temp =='\0')break;
        if('a'<=temp&&temp<='z') temp += ('A'-'a');
        cout << temp;
    }
    cout << endl;

    return 0;
}

C++: #include<iostream>
#include<ctype.h>

using namespace std;

#define OUT cout <<
#define IN cin >>
#define E << endl;
#define FOR(i,a,b) for(int i = a;i < b;i++)


string str;


int main(){
	IN str;
	FOR(i,0,str.size()){
		str[i] = (char)toupper((int)(str[i]));
	}
	OUT str;
	
	while(IN str){
		OUT  " ";
		FOR(i,0,str.size()){
			str[i] = (char)toupper((int)(str[i]));
		}
		OUT str;
	}	
	OUT "\n";

}

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

int main(void)
{
  std::string str;

  std::cin >> str;

  for (int i = 0; i < str.length(); i++) {
    if (str.at(i) >= 'a' && str.at(i) <= 'z') {
      str.at(i) = str.at(i) - 'a' + 'A';
    }
  }

  std::cout << str << std::endl;

  return 0;
}

C++: #include <stdio.h>

int main(void)
{
	char str[1024];
	int i;
	
	fgets(str, 1024, stdin);
	i = 0;
	while (str[i] != '\0'){
		if (str[i] >= 'a' && str[i] <= 'z'){
			str[i] -= 0x20;
		}
		i++;
	}
	
	printf("%s", str);
	
	return (0);
}

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

using namespace std;

int main() {
	string str; getline(cin, str);
	for (int i=0; i<str.length(); i++) {
		if (str[i] != ' ' && str[i] != '.') {
			str[i] = toupper(str[i]);
		}
	}
	cout << str << 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;
      }
    }
    if(str[n-1] == 46)
      cout << str;
    else
      cout << str << " ";
  }
}

C++: #include<iostream>
using namespace std;
typedef long long ll;
int main(){
    string s;
    while(getline(cin,s)){
        for(int i=0;i<s.size();i++){
            if(s[i]>='a'&&s[i]<='z')    s[i]-=32;
        }
        cout << s;
    }
    return 0;
}

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

using namespace std;


int main(){
	string input;
	string str;

	while(cin >> input){
		str += ' ';
		str += input;
	}
	string temp;
	temp += str[1];
	for(int i=2 ; i<str.size() ; i++){
		if(str[i] >= 'a' && str[i] <= 'z'){
			str[i] = 'A' + str[i] - 'a';
		}
		temp += str[i];
	}
	str = temp;

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

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

int main(void){
	char buff[8192];
	char *p;

	scanf("%s",buff);
	p=buff;
	while(*p!='\0'){
		*p=toupper(*p);
		p++;
	}
	printf("%s\n",buff);
}

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

int main()
{
	std::string input_text;
	std::getline(std::cin, input_text);
	std::transform(
			input_text.begin(), input_text.end(),
			std::ostream_iterator<char>(std::cout, ""),
			static_cast<int(*)(int)>(&std::toupper));
	std::cout << std::endl;

	return 0;
}

C++: #include<iostream>
#include<string>
#include <stdio.h>
#include <math.h>
#include <cctype>
#include<queue>
#include<stack>
#include<cstdio>
#include <algorithm>
#include <cstdio>
using namespace std;
int main(){
	string s;
	getline(cin,s);
	for(int i=0;i<=s.size();i++){
			s[i]=toupper(s[i]);
		}
		cout<<s<<endl;
		return 0;
}

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

int main(){
  string str;
  int i;
  int gap;

  gap='a'-'A';
  std::getline(std::cin, str);
  for(i=0; i<str.size(); i++){
    if(str[i]!=' ' && str[i]!='.') str[i]-=gap;
  }
  cout<<str<<endl;

  return 0;
}

C++: //↓template↓

#include "bits/stdc++.h"
using namespace std;
#define Would
#define you
#define all(n)  n.begin(),n.end()
const long long INF = 1e18;
const long long MOD = 1e9 + 7;
const double pi = acos(-1);
const int SIZE = 1 << 17;
int dx[] = { 1,0,-1,0 }, dy[] = { 0,1,0,-1 }, alp[30];
long long fac[200005], finv[200005], inv[200005];
vector<long long>dij;
struct edge { long long to, cost; };
vector<vector<edge> >G;

long long mod_pow(long long a, long long b) {
	long long res = 1, mul = a;
	for (int i = 0; i < 31; ++i) {
		if (b >> i & 1) {
			res *= mul;
			res %= MOD;
		}
		mul = (mul * mul) % MOD;
	}

	return res;
}

void addedge(int from, int to, int cost) {
	G[from].push_back({ to,cost });
	G[to].push_back({ from,cost });
}

//↑template↑

int main() {
	string h;
	getline(cin, h);
	transform(all(h), h.begin(), ::toupper);
	cout << h << endl;
}

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;
      }
    }
    if(str[n-1] == 46)
      cout << str;
    else
      cout << str << " ";
  }
  cout << endl;
}

C++: 
#include<stdio.h>
#include<ctype.h>
 
int main(void){
 
    char s;
 
    while(1){
 
        scanf("%c",&s);
 
        if( s != '.' && s!= ' ' && (s<'a'||s>'z'))
            break;
 
        else if(s>='a'&&s<='z')
            printf("%c",toupper(s));
 
        else
            printf("%c",s);
 
 
    }
 
    puts("");
 
    return 0;
}

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

int main(){
	int a;
	string input, output;
	getline(cin, input);
	for(int i=0;i<input.size();i++){
		a = input[i];
		if (a > 96){
			a -= 32;
		}
		output += a;
	}
	cout << output << endl;
	return 0;
}

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

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