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 Java8 (OpenJDK 1.8.0) (judge verdict: Runtime Error)

import java.util.Scanner;

public class Main {

    private static Scanner prepareInput() {
        return new Scanner(System.in);
    }

    public static void main(String... args) {
        Scanner sc = prepareInput();
        long A = Long.parseLong(sc.next());
        long B = Long.parseLong(sc.next());
        long K = Long.parseLong(sc.next());

        for (int i = 0; i < K; i++) {
            if (A == 0 && B == 0) {
                break;
            }

            if (A >= 1) {
                A -= 1;
            } else if (B >= 1) {
                B -= 1;
            }
        }

        StringBuilder sb = new StringBuilder();
        sb.append(A);
        sb.append(" ");
        sb.append(B);

        System.out.println(sb.toString());
    }
}