Problem:
Score : 100 points

Problem Statement

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.

Sample Input 1

oder atc

Sample Output 1

atcoder

When S = oder and T = atc, concatenating T and S in this order results in atcoder.

Sample Input 2

humu humu

Sample Output 2

humuhumu

Solution in C (GCC 5.4.1) (judge verdict: Wrong Answer)

#include <stdio.h>

int main()
{
    char str[100],str1[100], str2[100];
    gets(str1);
    gets(str2);

    int i, k, j=0;

    for(i=0; i<strlen(str2); i++)
    {
        str[j] = str2[i];
        j++;
    }

    for(k=0; k<strlen(str1); k++)
    {
        str[j] = str1[k];
        j++;
    }
        str[j]='\0';

        printf("%s",str);

    return 0;

}