output
stringlengths 52
181k
| instruction
stringlengths 296
182k
|
---|---|
#include<bits/stdc++.h>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
t+=s;
cout<<t<<"\n";
return 0;
} | ### Prompt
Construct a CPP code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
t+=s;
cout<<t<<"\n";
return 0;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string a,b;
cin>>a>>b;
cout<<b<<a;
} | ### Prompt
Create a solution in Cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string a,b;
cin>>a>>b;
cout<<b<<a;
}
``` |
#include <stdio.h>
int main(){
char a[100], b[100];
scanf("%s %s", a, b);
printf("%s%s", b, a);
} | ### Prompt
Your challenge is to write a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main(){
char a[100], b[100];
scanf("%s %s", a, b);
printf("%s%s", b, a);
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string a,b;
cin>>a>>b;
cout<<b+a<<"\n";
}
| ### Prompt
Your challenge is to write a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string a,b;
cin>>a>>b;
cout<<b+a<<"\n";
}
``` |
#include <iostream>
using namespace std;
int main ()
{
string t, s;
cin>>s>>t;
cout<<t+s;
} | ### Prompt
In Cpp, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main ()
{
string t, s;
cin>>s>>t;
cout<<t+s;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S,T;
cin>>S>>T;
cout<<T<<S;
} | ### Prompt
Please create a solution in Cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string S,T;
cin>>S>>T;
cout<<T<<S;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main () {
string s,t,ans;
cin >>s>>t;
cout <<t<<s<<endl;
}
| ### Prompt
In Cpp, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main () {
string s,t,ans;
cin >>s>>t;
cout <<t<<s<<endl;
}
``` |
#include <iostream>
int main(){
std::string S;
std::string T;
std::cin>>S>>T;
std::cout<<T+S;
return 0;
} | ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
int main(){
std::string S;
std::string T;
std::cin>>S>>T;
std::cout<<T+S;
return 0;
}
``` |
#include <iostream>
using namespace std;
int main(){
string a, b;
cin >> a >> b;
cout << b+a << endl;
}
| ### Prompt
In cpp, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main(){
string a, b;
cin >> a >> b;
cout << b+a << endl;
}
``` |
#include <iostream>
#include <string>
using namespace std;
string S,T;
int main(){
cin>>S>>T;
cout<<T+S;
} | ### Prompt
Construct a CPP code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
#include <string>
using namespace std;
string S,T;
int main(){
cin>>S>>T;
cout<<T+S;
}
``` |
#include <iostream>
#include<string>
using namespace std;
string a,b;
int main()
{
cin>>a>>b;cout<<b<<a;
} | ### Prompt
In CPP, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
#include<string>
using namespace std;
string a,b;
int main()
{
cin>>a>>b;cout<<b<<a;
}
``` |
#include <stdio.h>
int main (){
char s[103],t[103];
scanf("%s %s", s , t);
printf("%s%s", t , s);
return 0;
} | ### Prompt
Develop a solution in CPP to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main (){
char s[103],t[103];
scanf("%s %s", s , t);
printf("%s%s", t , s);
return 0;
}
``` |
#include <iostream>
using namespace std;
signed main(){
string a,b;
cin>>b>>a;
cout<<a+b<<'\n';
} | ### Prompt
Generate a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
signed main(){
string a,b;
cin>>b>>a;
cout<<a+b<<'\n';
}
``` |
#include<iostream>
using namespace std;
int main() {
string s1, s2;
cin >> s1 >> s2;
cout << s2 + s1;
return 0;
} | ### Prompt
Generate a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main() {
string s1, s2;
cin >> s1 >> s2;
cout << s2 + s1;
return 0;
}
``` |
#include <iostream>
#include <string>
using namespace std;
int main(){
string a,b;
cin>>a>>b;
cout<<b<<a;
} | ### Prompt
Construct a CPP code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
#include <string>
using namespace std;
int main(){
string a,b;
cin>>a>>b;
cout<<b<<a;
}
``` |
#include<bits/stdc++.h>
using namespace std;
string s,t;
int main() {
cin>>s>>t;
cout<<t+s;
return 0;
} | ### Prompt
Your task is to create a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
string s,t;
int main() {
cin>>s>>t;
cout<<t+s;
return 0;
}
``` |
#include <iostream>
using namespace std;
int main(void){
string s,t;
cin>>s>>t;
cout<<t<<s;
} | ### Prompt
Please create a solution in cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main(void){
string s,t;
cin>>s>>t;
cout<<t<<s;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin>>s>>t;
cout<<(t + s)<<endl;
} | ### Prompt
Please formulate a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin>>s>>t;
cout<<(t + s)<<endl;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
string t;
cin >> s >> t;
cout << t << s;
} | ### Prompt
Please provide a Cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
string t;
cin >> s >> t;
cout << t << s;
}
``` |
#include <iostream>
#include <string>
using namespace std;
int main() {
string S, T;
cin>>S>>T;
cout<<T+S;
} | ### Prompt
Please provide a CPP coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
#include <string>
using namespace std;
int main() {
string S, T;
cin>>S>>T;
cout<<T+S;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main(){
string S, T; cin >> S >> T;
cout << T+S << "\n";
} | ### Prompt
Your challenge is to write a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
string S, T; cin >> S >> T;
cout << T+S << "\n";
}
``` |
#include <iostream>
using namespace std;
int main()
{
string s,t;
cin>>s;
cin>>t;
cout<<t+s;
} | ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main()
{
string s,t;
cin>>s;
cin>>t;
cout<<t+s;
}
``` |
#include<iostream>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2+s1<<endl;
}
| ### Prompt
Create a solution in Cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2+s1<<endl;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string x,y;
cin>>x>>y;
cout << y<<x;
} | ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string x,y;
cin>>x>>y;
cout << y<<x;
}
``` |
#include"bits/stdc++.h"
using namespace std;
int main()
{
string s1,s2;cin>>s1>>s2;
cout<<(s2+s1)<<endl;
} | ### Prompt
In CPP, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include"bits/stdc++.h"
using namespace std;
int main()
{
string s1,s2;cin>>s1>>s2;
cout<<(s2+s1)<<endl;
}
``` |
#include<iostream>
using namespace std;
int main()
{
string x,y;
cin>>x;
cin>>y;
cout<<y<<x;
return 0;
} | ### Prompt
Please formulate a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main()
{
string x,y;
cin>>x;
cin>>y;
cout<<y<<x;
return 0;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t+s;
return 0;} | ### Prompt
Your task is to create a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t+s;
return 0;}
``` |
#include<stdio.h>
int main(void){
char s[100];
char t[100];
scanf("%s %s",s,t);
printf("%s%s",t,s);
}
| ### Prompt
Construct a cpp code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<stdio.h>
int main(void){
char s[100];
char t[100];
scanf("%s %s",s,t);
printf("%s%s",t,s);
}
``` |
#include<cstdio>
int main(){
char a[105],b[105];
scanf("%s %s",a,b);
printf("%s%s",b,a);
return 0;
} | ### Prompt
Please create a solution in cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<cstdio>
int main(){
char a[105],b[105];
scanf("%s %s",a,b);
printf("%s%s",b,a);
return 0;
}
``` |
#include<iostream>
using namespace std;
int main()
{
string s,a;
cin>>s>>a;
cout<<a<<s;
}
| ### Prompt
Please provide a cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main()
{
string s,a;
cin>>s>>a;
cout<<a<<s;
}
``` |
#include<iostream>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2<<s1;
}
| ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2<<s1;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string x,t;
cin>>x>>t;
cout<<t<<x<<endl;
}
| ### Prompt
Generate a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string x,t;
cin>>x>>t;
cout<<t<<x<<endl;
}
``` |
#include <iostream>
using namespace std;
int main ()
{
char S[100],T[100];
cin>>S>>T;
cout<<T<<S<<endl;
} | ### Prompt
Your task is to create a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main ()
{
char S[100],T[100];
cin>>S>>T;
cout<<T<<S<<endl;
}
``` |
#include "iostream"
using namespace std;
int main(){
string a,b;
cin >> a >> b;
cout << b+a << endl;
}
| ### Prompt
Develop a solution in Cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include "iostream"
using namespace std;
int main(){
string a,b;
cin >> a >> b;
cout << b+a << endl;
}
``` |
#include <stdio.h>
// For output
char S[110];
char T[110];
int main(){
scanf("%s%s",S,T);
printf("%s%s\n",T,S);
} | ### Prompt
In Cpp, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
// For output
char S[110];
char T[110];
int main(){
scanf("%s%s",S,T);
printf("%s%s\n",T,S);
}
``` |
#include"iostream"
using namespace std;
int main(void) {
string a, b;
cin >> a >> b;
cout << b<< a;
}
| ### Prompt
Please create a solution in cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include"iostream"
using namespace std;
int main(void) {
string a, b;
cin >> a >> b;
cout << b<< a;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main(){
string a, b;
cin >>a>>b;
cout<< b+a;
} | ### Prompt
Please create a solution in CPP to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
string a, b;
cin >>a>>b;
cout<< b+a;
}
``` |
#include <iostream>
int main(){
std::string T,S;
std::cin>>T>>S;
std::cout<<S+T;
return 0;
}
| ### Prompt
Your task is to create a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
int main(){
std::string T,S;
std::cin>>T>>S;
std::cout<<S+T;
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s1,s2;
cin >> s1 >> s2;
cout << s2 + s1;
} | ### Prompt
Please create a solution in Cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s1,s2;
cin >> s1 >> s2;
cout << s2 + s1;
}
``` |
#include <bits/stdc++.h>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
cout<<t<<s<<endl;
}
| ### Prompt
Your task is to create a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
cout<<t<<s<<endl;
}
``` |
#include <stdio.h>
int main() {
char s[101],t[101];
scanf("%s %s", s, t);
printf("%s%s\n",t,s);
return 0;
}
| ### Prompt
Your task is to create a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main() {
char s[101],t[101];
scanf("%s %s", s, t);
printf("%s%s\n",t,s);
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2<<s1;
return 0;
} | ### Prompt
Your task is to create a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2<<s1;
return 0;
}
``` |
#include <stdio.h>
int main()
{
char s[110],t[110];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
return 0;
}
| ### Prompt
Construct a CPP code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main()
{
char s[110],t[110];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
return 0;
}
``` |
#include <iostream>
#include <cstring>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t<<s;
} | ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
#include <cstring>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t<<s;
}
``` |
#include<stdio.h>
int main()
{
char s[100],t[100];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
return 0;
}
| ### Prompt
Please create a solution in CPP to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<stdio.h>
int main()
{
char s[100],t[100];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
return 0;
}
``` |
#include<iostream>
using namespace std;
string S,T;
int main(){
cin>>S>>T;
cout<<T+S<<endl;
} | ### Prompt
Generate a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
string S,T;
int main(){
cin>>S>>T;
cout<<T+S<<endl;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string s,s2;
cin>>s>>s2;
cout<<s2+s<<endl;
} | ### Prompt
Create a solution in CPP for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string s,s2;
cin>>s>>s2;
cout<<s2+s<<endl;
}
``` |
#include <iostream>
#include<string>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << t+s;
} | ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
#include<string>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << t+s;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main(){
string A,B;cin>>A>>B;cout<<B+A<< endl;
}
| ### Prompt
In CPP, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
string A,B;cin>>A>>B;cout<<B+A<< endl;
}
``` |
#include <iostream>
using namespace std;
int main() {
string S, T;
cin >> S;
cin >> T;
cout << T << S;
}
| ### Prompt
Generate a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main() {
string S, T;
cin >> S;
cin >> T;
cout << T << S;
}
``` |
#include <stdio.h>
int main()
{
char s[200],t[200];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
} | ### Prompt
Construct a CPP code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main()
{
char s[200],t[200];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main(){
string T;
string S;
cin>>S>>T;
cout<<T<<S<<endl;
} | ### Prompt
Your task is to create a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
string T;
string S;
cin>>S>>T;
cout<<T<<S<<endl;
}
``` |
#include<cstdio>
int main()
{
int s[100],t[100];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
return 0;
}
| ### Prompt
Generate a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<cstdio>
int main()
{
int s[100],t[100];
scanf("%s %s",s,t);
printf("%s%s\n",t,s);
return 0;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string a,b;
cin>>a>>b;
cout<<b+a<<endl;
}
| ### Prompt
Please create a solution in cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string a,b;
cin>>a>>b;
cout<<b+a<<endl;
}
``` |
#include <iostream>
int main() {
std::string a, b;
std::cin >> a >> b;
std::cout << b << a;
} | ### Prompt
Create a solution in Cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
int main() {
std::string a, b;
std::cin >> a >> b;
std::cout << b << a;
}
``` |
#include <stdio.h>
int main() {
char x[105], y[105];
scanf("%s %s", x, y);
printf("%s%s", y,x);
return 0;
} | ### Prompt
Please provide a CPP coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main() {
char x[105], y[105];
scanf("%s %s", x, y);
printf("%s%s", y,x);
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s,t;
cin>>t>>s;
cout<<s<<t;
} | ### Prompt
Please provide a CPP coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s,t;
cin>>t>>s;
cout<<s<<t;
}
``` |
#include <cstdio>
int main(){
char S[100+1],T[100+1];
scanf("%s %s",S,T);
printf("%s%s\n",T,S);
return 0;
} | ### Prompt
Please create a solution in Cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <cstdio>
int main(){
char S[100+1],T[100+1];
scanf("%s %s",S,T);
printf("%s%s\n",T,S);
return 0;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S,t;
cin >> S >> t;
cout << t << S;
}
| ### Prompt
Your challenge is to write a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string S,t;
cin >> S >> t;
cout << t << S;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main()
{
string T,S;
cin>>S>>T;
cout<<T+S;
return 0;
}
| ### Prompt
Please provide a CPP coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main()
{
string T,S;
cin>>S>>T;
cout<<T+S;
return 0;
}
``` |
#include<iostream>
using namespace std;
int main()
{
string x,y,z;
cin>>x>>y;
z=x;
x=y;
y=z;
cout<<x<<y;
} | ### Prompt
Your task is to create a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main()
{
string x,y,z;
cin>>x>>y;
z=x;
x=y;
y=z;
cout<<x<<y;
}
``` |
#include<iostream>
using namespace std;
int main()
{
string s,t;
cin>>s>>t;
t+=s;
cout<<t;
} | ### Prompt
Create a solution in CPP for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main()
{
string s,t;
cin>>s>>t;
t+=s;
cout<<t;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string a, b;
cin >> a >> b;
cout << b + a << '\n';
} | ### Prompt
Please provide a cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string a, b;
cin >> a >> b;
cout << b + a << '\n';
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T; cin>>S >>T; cout<< T; cout<< S;
return 0;
} | ### Prompt
Develop a solution in CPP to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T; cin>>S >>T; cout<< T; cout<< S;
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string a, b;
cin >> a >> b;
b += a;
cout << b;
} | ### Prompt
Your challenge is to write a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string a, b;
cin >> a >> b;
b += a;
cout << b;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s,t; cin>>s>>t;
cout<<t<<s<<endl;
} | ### Prompt
Please provide a Cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s,t; cin>>s>>t;
cout<<t<<s<<endl;
}
``` |
#include<bits/stdc++.h>
using namespace std;
signed main(){
string s,t,c;
cin>>s>>t;
cout<<t+s<<"\n";
}
| ### Prompt
Your challenge is to write a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
signed main(){
string s,t,c;
cin>>s>>t;
cout<<t+s<<"\n";
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main()
{
string s,t;
cin>>s>>t;
t+=s;
cout<<t;
return 0;
} | ### Prompt
Construct a Cpp code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main()
{
string s,t;
cin>>s>>t;
t+=s;
cout<<t;
return 0;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main(){
string L,K;
cin>>L;
cin>>K;
cout<<K<<L<<endl;
} | ### Prompt
Please formulate a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main(){
string L,K;
cin>>L;
cin>>K;
cout<<K<<L<<endl;
}
``` |
#include<iostream>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t<<s<<endl;
return 0;
} | ### Prompt
Create a solution in cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t<<s<<endl;
return 0;
}
``` |
#include <iostream>
using namespace std;
string s,t;
int main(void){
cin>>s>>t;
cout<<t+s<<endl;
}
| ### Prompt
Your task is to create a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
string s,t;
int main(void){
cin>>s>>t;
cout<<t+s<<endl;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string s,d;
cin>>s>>d;
cout<<d<<s;
return 0;
} | ### Prompt
Please provide a CPP coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string s,d;
cin>>s>>d;
cout<<d<<s;
return 0;
}
``` |
#include <iostream>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << t << s;
} | ### Prompt
In cpp, your task is to solve the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << t << s;
}
``` |
#include<iostream>
#include<string>
using namespace std;
int main(){
string t,s;
cin>>s>>t;
cout<<t<<s;
} | ### Prompt
Your task is to create a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
#include<string>
using namespace std;
int main(){
string t,s;
cin>>s>>t;
cout<<t<<s;
}
``` |
#include<iostream>
using namespace std;
int main()
{
string S,T;
cin>>S>>T;
cout<<T+S;
}
| ### Prompt
Please provide a Cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main()
{
string S,T;
cin>>S>>T;
cout<<T+S;
}
``` |
#include <iostream>
using namespace std;
int main(){
string S,T;
cin >> S >> T;
cout << T << S << endl;
}
| ### Prompt
Construct a cpp code solution to the problem outlined:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main(){
string S,T;
cin >> S >> T;
cout << T << S << endl;
}
``` |
#include <stdio.h>
//inppuutt
char S[110];
char T[110];
int main(){
scanf("%s%s",S,T);
printf("%s%s\n",T,S);
} | ### Prompt
Your task is to create a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
//inppuutt
char S[110];
char T[110];
int main(){
scanf("%s%s",S,T);
printf("%s%s\n",T,S);
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string S,T;
cin>>S>>T;
T+=S;
cout<<T;
return 0;
}
| ### Prompt
Please create a solution in CPP to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string S,T;
cin>>S>>T;
T+=S;
cout<<T;
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main() {
string t,s;
cin>>s>>t;
cout<<t<<s;
} | ### Prompt
Please formulate a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main() {
string t,s;
cin>>s>>t;
cout<<t<<s;
}
``` |
#include<stdio.h>
int main(){
char s[100],r[100];
scanf("%s %s",&s,&r);
printf("%s%s\n",r,s);
return 0;
} | ### Prompt
Create a solution in CPP for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<stdio.h>
int main(){
char s[100],r[100];
scanf("%s %s",&s,&r);
printf("%s%s\n",r,s);
return 0;
}
``` |
#include<iostream>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
cout<<t+s<<endl;
return 0;
}
| ### Prompt
Please create a solution in CPP to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
string s,t;
int main(){
cin>>s>>t;
cout<<t+s<<endl;
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string a,b;
cin>>a;
cin>>b;
cout<<b+a;
}
| ### Prompt
Please formulate a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string a,b;
cin>>a;
cin>>b;
cout<<b+a;
}
``` |
#include <iostream>
using namespace std;
int main() {
string s,t,c="";
cin>>s>>t;
c+=t;
c+=s;
cout<<c;
} | ### Prompt
Generate a Cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main() {
string s,t,c="";
cin>>s>>t;
c+=t;
c+=s;
cout<<c;
}
``` |
#include <iostream>
using namespace std;
int main(void){
string s,t;
cin>>s>>t;
cout<<t+s;
}
| ### Prompt
Develop a solution in cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main(void){
string s,t;
cin>>s>>t;
cout<<t+s;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2<<s1;
} | ### Prompt
Create a solution in cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string s1,s2;
cin>>s1>>s2;
cout<<s2<<s1;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T;
cin>>S;
cin>>T;
cout<<T+S<<"\n";
}
| ### Prompt
Please provide a Cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T;
cin>>S;
cin>>T;
cout<<T+S<<"\n";
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s,t;
cin>>s>>t;
cout<<(t+s);
return 0;
} | ### Prompt
Your challenge is to write a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s,t;
cin>>s>>t;
cout<<(t+s);
return 0;
}
``` |
#include<iostream>
using namespace std;
#include<string>
int main(){
string s, t;
cin>>s>>t;
cout<<t<<s;
} | ### Prompt
Create a solution in Cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
#include<string>
int main(){
string s, t;
cin>>s>>t;
cout<<t<<s;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main()
{
string t,s;
cin>>t>>s;
cout<<s<<t;
}
| ### Prompt
Please create a solution in cpp to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main()
{
string t,s;
cin>>t>>s;
cout<<s<<t;
}
``` |
#include <iostream>
using namespace std;
int main()
{
string a,b; cin>>a>>b;
cout<<b+a;
return 0;
} | ### Prompt
Your task is to create a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <iostream>
using namespace std;
int main()
{
string a,b; cin>>a>>b;
cout<<b+a;
return 0;
}
``` |
#include<iostream>
using namespace std;
int main() {
string s,t;cin>>s>>t;cout<<t+s;
} | ### Prompt
Please formulate a cpp solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main() {
string s,t;cin>>s>>t;cout<<t+s;
}
``` |
#include <stdio.h>
//prince
char S[110];
char T[110];
int main(){
scanf("%s%s",S,T);
printf("%s%s\n",T,S);
} | ### Prompt
Please create a solution in CPP to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
//prince
char S[110];
char T[110];
int main(){
scanf("%s%s",S,T);
printf("%s%s\n",T,S);
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S , T;
cin >> S >> T;
cout << T+S <<endl;
} | ### Prompt
Please provide a cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string S , T;
cin >> S >> T;
cout << T+S <<endl;
}
``` |
#include<stdio.h>
int main()
{
char S[110];
char T[110];
scanf("%s%s", S, T);
printf("%s%s", T, S);
return 0;
} | ### Prompt
Generate a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<stdio.h>
int main()
{
char S[110];
char T[110];
scanf("%s%s", S, T);
printf("%s%s", T, S);
return 0;
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main()
{
string n,m;
cin>>n>>m;
cout<<m+n<<endl;
}
| ### Prompt
Your challenge is to write a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
string n,m;
cin>>n>>m;
cout<<m+n<<endl;
}
``` |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s,h;
cin>>s>>h;
cout<<h+s;
}
| ### Prompt
Develop a solution in Cpp to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
string s,h;
cin>>s>>h;
cout<<h+s;
}
``` |
#include"bits/stdc++.h"
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t<<s;
}
| ### Prompt
Please provide a cpp coded solution to the problem described below:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include"bits/stdc++.h"
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t<<s;
}
``` |
#include <stdio.h>
int main(){
char a[201], b[201];
scanf("%s %s",a,b);
printf("%s%s",b,a);
return 0;
} | ### Prompt
Create a solution in cpp for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include <stdio.h>
int main(){
char a[201], b[201];
scanf("%s %s",a,b);
printf("%s%s",b,a);
return 0;
}
``` |
#include<iostream>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t+s<<"\n";
} | ### Prompt
Create a solution in CPP for the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<iostream>
using namespace std;
int main(){
string s,t;
cin>>s>>t;
cout<<t+s<<"\n";
}
``` |
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T;
cin>>S>>T;
cout<<T+S;
return 0;
} | ### Prompt
Your challenge is to write a CPP solution to the following problem:
Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string.
Constraints
* S and T are strings consisting of lowercase English letters.
* The lengths of S and T are between 1 and 100 (inclusive).
Input
Input is given from Standard Input in the following format:
S T
Output
Print the resulting string.
Examples
Input
oder atc
Output
atcoder
Input
humu humu
Output
humuhumu
### Response
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T;
cin>>S>>T;
cout<<T+S;
return 0;
}
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.