AlgoBazaAlgoBaza
Back to tasks

Reverse order

Beginner

Python for kids 路 Lesson 14: input() - reading text

Problem Statement

Read two words (each on its own line) and print them in reverse order, each on its own line.

Input Format

Two lines, each with one word (no spaces).

Output Format

Exactly the text from the example.

Examples
Example 1

Input

pierwsze
drugie

Output

drugie
pierwsze