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++: #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES

#include "bits/stdc++.h"
#define REP(i,a,b) for(int i=a;i<b;++i)
#define rep(i,n) REP(i,0,n)
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#define ALL(a) begin(a),end(a)
#define ifnot(a) if(not (a))
#define dump(x)  cerr << #x << " = " << (x) << endl
using namespace std;

// #define int ll
#ifdef _MSC_VER
const bool test = true;
#else 
const bool test = false;
#endif

int dx[] = { 0,1,0,-1 };
int dy[] = { 1,0,-1,0 };
#define INF (1 << 28)
ull mod = (int)1e9 + 7;
//.....................
const int MAX = (int)2e5 + 5;

string s;

int main() {
	while (getline(cin,s)) {
		for (auto c : s) cout << (char)toupper(c);
		cout << endl;
	}
	return 0;
}

C++: #include <iostream>
#include <cctype>
#include <cstdio>
using namespace std;
int main(){
	char c;
	while(cin >> c){
		if(islower(c)) c = toupper(c);
		cout << c;
	}
	cout << endl;
}

C++: #include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<n;i++)
using namespace std;
typedef long long ll;
typedef pair<int, int>P;

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

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

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

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

C++: #include <stdio.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>

std::string str;

int main() {
    getline(std::cin, str);

    for(char c : str) {
        if(c == '\n') continue;
        if(c >= 'a' && c <= 'z') {
            char upper = (c - 'a') + 'A';
            std::cout << upper;
        } else {
            std::cout << c;
        }
    }
}

C++: #include<bits/stdc++.h>
using namespace std;

typedef long long int ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pair<int, int> > vii;
#define rrep(i, m, n) for(int (i)=(m); (i)<(n);  (i)++)
#define  rep(i, n)    for(int (i)=0; (i)<(n);  (i)++)
#define  rev(i, n)    for(int (i)=(n)-1; (i)>=0; (i)--)
#define vrep(i, c)    for(__typeof((c).begin())i=(c).begin(); i!=(c).end(); i++)
#define  ALL(v)       (v).begin(), (v).end()
#define mp            make_pair
#define pb            push_back
template<class T1, class T2> inline void minup(T1& m, T2 x){ if(m>x) m=static_cast<T2>(x); }
template<class T1, class T2> inline void maxup(T1& m, T2 x){ if(m<x) m=static_cast<T2>(x); }

#define INF 1000000000
#define MOD 1000000009
#define EPS 1E-9

string s;

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

  rep(i, s.size()) if('a'<=s[i] && s[i]<='z') s[i] += 'A' - 'a';

  cout << s << endl;

  return 0;
}

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

int main()
{
	char c;
	
	while (cin >> c, c != EOF){
		if(c == '.'){
			cout << c;
			continue;
		}
		else if(c == ' '){
			cout << ' ';
			continue;
		}
		c -= 32;
		cout << c;
	}
	
	cout << endl;
	
	return (0);
}

C++: #include<iostream>
#include<queue>
#include<string>
#include<stack>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<ctype.h>

using namespace std;

int main(void)
{
  char str[1000]={};
  int i;
  int len;

  gets(str);
  len=strlen(str);

  for(i=0;i<len;i++)
    str[i]=toupper(str[i]);

  printf("%s\n", str);


}

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

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

C++: main(a){for(;~scanf("%c",&a);printf("%c",a>96?a-32:a);}

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

using namespace std;

int main(void){
	string s;

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

	return 0;
}