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 <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctype.h>
#include <ctime>
#include <cstdio>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <iostream>
#include <iterator>
#include <algorithm>

using namespace std;

#define REP(i, x, n) for(int i = x; i < n; i++)
#define rep(i, n) REP(i, 0, n)
#define lengthof(x) (sizeof(x) / sizeof(*(x)))
#define FILL(ptr, value) FILL_((ptr), sizeof(ptr)/sizeof(value), (value))
template <typename T>
void FILL_(void * ptr, size_t size, T value){
  std::fill((T*)ptr, (T*)ptr+size, value);
}
//4方向ベクトル→↑←↓
int dx[] ={1,0,-1,0};
int dy[] ={0,-1,0,1};

int main()
{
  char s[]="012345678954321012345678";
 int len=24;
  int n;
  cin >>n;
  while(n--){
        int start,goal; cin>>start>>goal;
        int ans=100,ans_st;
        for(int i=0;i<len;i++){
            if(s[i]!=start+'0') continue;
            for(int j=i+1;j<len;j++){
                if(s[j]==goal+'0'){
		  if(ans>j-i)
		  ans=j;
		  ans_st=i;
                }
            }
        }
	cout <<s[ans_st];
	cout <<" ";
	for(int i =ans_st+1;i <ans;i++){
	  cout <<s[i]<<" ";
	}
	cout <<s[ans];
	cout <<endl;
  }
  return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>
char ToUpper (char cX) { return toupper(cX); } 
using namespace std;

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

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;
}