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

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

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

using namespace std;

char s[2000];

signed main()
{
    while( 1 )
    {
        scanf( "%s", s );
        if( s == "\n" ) break;
        transform( begin(s), end(s), begin(s), ::toupper );
        printf( "%s ", s );
    }
    printf("\n");
    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;
		while(in[c]!='\0'){
			in[c]=toupper(in[c]);
			c++;
		}
		
		cout<<in<<" ";
	}
	cout<<endl;

}

C++: #define _USE_MATH_DEFINES
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <queue>
#include <stack>

typedef long long ll;
using namespace std;

int main()
{
	string str;
	getline(cin,str);
	for(int i=0;i<str.size();i++){
		if(str[i] == ' ' || str[i] == '.') continue;
		str[i] = toupper(str[i]);
	}

	cout << str << endl;	
}

C++: #include <iostream>
#include <string>
#define REP(i,n) for(int i = 0; i < (n); ++i)
using namespace std;

int main(){
	string str;
	getline(cin,str,'\n');
	string ret = "";
	REP(i, str.size()) ret += ('a' <= str[i] && str[i] <= 'z') ? str[i] - 'a' + 'A' : str[i];
	cout << ret << endl;
}

C++: #include<iostream>
#include<string>
#include<cstdio>
#include<cctype>
using namespace std;
int main(){
  string a[100000];
  int n=0;
  while(cin>>a[n]){
    // if(a[n]=="0")break;
    n++;
  }
    
  for(int j=0;j<n;j++){
    for(int i=0;i<a[j].length();i++){
      if(islower(a[j][i]))a[j][i]=(char)toupper(a[j][i]);
    }
  }
  for(int i=0;i<n-1;i++){
    cout<<a[i]<<' ';
  }
  cout<<a[n-1]<<endl;
}

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

using namespace std;

int main(){
    string s,str("");
    cin >> s;
    str += s;
    while(cin >> s){
        str +=  " ";
        str += s;
    }
    transform(str.begin(), str.end(), str.begin(), ::toupper);
    cout << 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++){
		char c=s[i];
		(97<=c&&c<=122)?printf("%c",c-32):printf("%c",c);
	}
	cout<<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>
using namespace std;

bool isAlpha(char ch){
  return ('a'<=ch&&ch<='z');
}

int main(){
  char ch;
  string str;
  while(getline(cin,str)){
    for(int i=0;i<(int)str.size();i++){
      ch=str[i];
      if(isAlpha(ch))ch-=32;
      cout<<ch;
    }
    cout<<endl;
  }
  return 0;
}

C++: #include <iostream>
#include <string>
#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<stdio.h>
#include<string.h>
using namespace std;

int main () {
	char n[1999999];
	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<iostream>
#include<ctype.h>
#include<string>

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(){
	getline(cin, 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";
	*/

	OUT str E
}

C++: #include<cstdio>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;
int main(void)
{
	int len,i,j;
	char s;
	while(scanf("%c",&s)!=EOF) {
//		if('A'<=s && 'Z'>=s) printf("%c",s);
		if('a'<=s && 'z'>=s){
			s=s-('a'-'A');
			printf("%c",s);
		}
		else printf("%c",s);
	}
	printf("\n");
	return 0;
}

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

using namespace std;

int main(){
	string word, ans;

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

	return 0;
}

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

int main() {

  string input,ans;
  getline( cin, input );

  for ( int i = 0; i < input.size(); i++ ) {

    char c = input[i];

    if ( c >= 'a' && c <= 'z' ) {
      c += 'A' - 'a';
    }else if ( c >= 'A' && c <= 'Z' ) {
      c += 'a' - 'A';
    }
    ans += c;

  }

  cout << ans << 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);
while(c--)
if('a' <= s[c] && s[c] <= 'z')
s[c] += 'A' - 'a';
cout << s << "\n";
return 0;
}

C++: /*AOJ 0020*/

#include<iostream>
using namespace std;

char changeSmallToLarge(char str){

	if(str>='a' && str<='z'){
		return str - 32;
	}
	else{
		return str;
	}
}

int main(){
	
	char str[1000];

	cin.getline(str,1000);

	for(int i=0;str[i]!='\0';i++){
		str[i] = changeSmallToLarge(str[i]);
	}

	cout<<str<<endl;

	return 0;
}

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

int main(void) {
  char a[200];
  int i, s = 0;
  while(scanf("%s", a) != EOF) {
    if(s) printf(" ");
    s = 1;
    for(i = 0; i < strlen(a); ++i) {
      if(a[i] >= 'a' && a[i] <= 'z') a[i] += 'A' - 'a';
      printf("%c", a[i]);
    }
  }
  return 0;
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <complex>

using namespace std;

const double PI=3.14159265;

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

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

	cout<<s<<endl;

	return 0;
}

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

int main(){
  char a[200];
  int i;
  i=0;
  while(scanf("%c",&a[i])!=EOF)i++;
  for(int j=0;j<i;j++){
    if('a'<=a[j]&&a[j]<='z'){
      a[j]=a[j]-'a'+'A';
    }
    cout<<a[j];
  }
  //cout<< endl;
  
  return 0;
}

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

int main(){
	// string st;
	// getline(cin, st);
	// transform(st.begin(), st.end(), st.begin(), ::toupper);
	// cout << st << endl;

	string str;
	getline(cin, str);

	char X = 'A' - 'a';
	for(int i = 0; i < str.size(); i++){
		if('a' <= str[i] && str[i] <= 'z') str[i] += X;
	}
	cout << str << endl;

	return 0;
}

C++: #include<iostream>
#include<string>
#include<ctype.h>
#include<stdio.h>
using namespace std;
int main(){
	string a;
	getline(cin,a);
	for(int i=0;i<a.size();i++){
    if(isalnum(a[i])!=0)
		a[i]=toupper(a[i]);
	cout<<a[i];	
	}
	cout<<endl;
	return 0;
}

C++: 
//　小文字を大文字に直すプログラム
//　isalphaはアルファベットならtrueを返す関数
// toupperは小文字を大文字にして返す関数
// tolowerは大文字を小文字にして返す関数

#include <iostream>
#include <string>

using namespace std;

int main(void){

  string s;
  getline( cin , s );

  for( int i = 0 ; i < s.size() ; i++ ){
    if( isalpha( s[i]) ){
      s[i] = toupper( s[i] );  
    }
  }
  cout << s << endl;

  return 0;
}