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>
using namespace std;

int main()
{
	char c[1024];
	while(cin.getline(c, sizeof(c))){
		for(int i=0;i<1024;i++)
			if(c[i]>='a' && c[i]<='z')
				c[i] = static_cast<char>(c[i]-32);
		cout << c << endl;
	}
	return 0;
}

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

using namespace std;

int main(void) {
	char input[101];
	int s = 'a' - 'A', i;
	
	cin.getline(input, sizeof(input));
	for(i = 0; input[i] != 0; i++) {
		if(input[i] > 'a' && input[i] < 'z') { input[i] -= s; }
	}
	cout << input << endl;
	
	return 0;
}

C++: #include<iostream>
#include<ctype.h>
using namespace std;
#define rep(i,s,n)for(int i=s;i<n;i++)
int main(){
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  getline(cin, s);
  for (char &c:s){
    c=toupper(c);
  }
  cout << s << endl;
  return 0;
}

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

int main(){
	char s[10001];
	cin.getline(s,10000);
	int c = strlen(s);
	for(int i=0;i<c;i++)
		if('a' <= s[i] && s[i] <= 'z')
			s[i] += 'A' - 'a';
	cout << s << "\n";
	return 0;
}

C++: #include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <stack>
#include <set>
#include <cmath>
#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<algorithm>
#include<string>
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>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <map>
#include <numeric>
using namespace std;

#define FOR(i,a,b) for(long long int i=(a);i<(b);i++)
#define REP(i,n) for(long long int i=0;i<(n);i++)
#define ALL(s) (s).begin(),(s).end()

#define PI 3.14159265358479

typedef long long ll;
typedef vector<long long int> vi;
typedef vector<long long int>::iterator vit;

int main(){
	int c = 0;
	string s;
	getline(cin, s);
	REP(i, s.size()){
		if (s[i] >= 'a'&&s[i] <= 'z'){
			s[i] += 'A' - 'a';
		}
	}
	cout << s << "\n";
}

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

using namespace std;

int main() {
    char buf[256];
    fgets(buf, 256, stdin);
    string s(buf);

    auto toupper=[](char c)->char {
        if (c >= 'a' && c <= 'z')
            c &= ~0x20;

        return c;
    };

    transform(s.begin(), s.end(), s.begin(), toupper);

    printf("%s", s.c_str());
    return 0;
}

C++: #include <cstdio>
#include <iostream>
#include <string>
using namespace std;
#define rep(i,a) for(int i = 0 ; i < a ; i ++)
bool isChar(char i){
  if('a'<=i && i <='z')return true;
  return false;
}
int main(void){
  string s;
    rep(i,s.size()){
      if(isChar(s[i])){
	s[i]-=32;
      }
    }
    cout<<s;
  while(cin>>s){
    rep(i,s.size()){
      if(isChar(s[i])){
	s[i]-=32;
      }
    }
    cout<<" "<<s;
  }
  cout<<endl;
}

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\n", msg);
	
	return 0;
}

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

using namespace std;

int main(int argc, char const* argv[])
{
	string target;

	getline( cin, target );

	for( int i = 0;i < target.size();i++ ){
		if( target[i] >= 'a' && target[i] <= 'z' ) target[i] += ('A' - 'a' );
	}

	cout << target << 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<algorithm>


using namespace std;


int main(){
	string str;

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

C++: #include<bits/stdc++.h>
using namespace std;
 
#define REP(i,s,n) for(int i=s;i<n;++i)
#define rep(i,n) REP(i,0,n)
#define SORT(c) sort((c).begin(),(c).end())
#define IINF INT_MAX
#define LLINF LLONG_MAX
 
typedef long long ll;
typedef pair<int, int> ii;
 
int main(){

	string s;
	getline(cin, s);
	rep(i, s.size()){
		if('A' <= s[i] && s[i] <= 'Z') s[i] += 32;
		else if('a' <= s[i] && s[i] <= 'z') s[i] -= 32;
	}
	cout << s << 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 << " ";
  }
}
  */
  getline(cin,str);
  n = str.size();
  for(int i=0;i<n;i++) {
    if((str[i] <= 'Z') && (str[i] >= 'A')) {
      str[i] -= 32;
    }
  }
  cout << str << endl;
}

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>

int main(int argc, const char * argv[]) {
    std::string line;
    while(getline(std::cin,line)){
        for(int i = 0;i<line.length();i++){
            if ( line[i]>='a' && line[i]<='z'){
                line[i] = line[i] + ('A' - 'a');
            }
        }
        std::cout << line << std::endl;
        
    }
        }

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


int main()
{
char str,ch;
int  n;
while(scanf("%c",&str)!=EOF)
{
ch=toupper(str);
printf("%c",ch);
}
printf("\n");
return 0;
}

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

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