Syllogism


Submit solution

Points: 75
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type

Problem Statement

    All flowers are plants.
    Jasmin is a flower.
    Therefore, Jasmin is a plant.

The previous statement is an example of Syllogistic argument. Syllogism is a logical argument that applies deductive reasoning to arrive at a conclusion based on two propositions that are assumed to be true.

Create a program that will accept three sentences S1, S2 and S3 and then print them out exactly in the same way as discribed previously.


Constraints

  • S1, S2 and S3 are string between 1 and 100 in length.

Input

Input is in the following format:

S1
S2
S3

All inputs to be captured first then processed.


Output

Print all sentences in order like so:

    S1
    S2
    S3

Samples

Sample 1

Input

No homework is fun.
Some reading is homework.
Some reading is not fun.

Output

    No homework is fun.
    Some reading is homework.
    Some reading is not fun.

Sample 2

Input

All cats are mammals.
Some pets are not mammals.
Some pets are not cats.

Output

    All cats are mammals.
    Some pets are not mammals.
    Some pets are not cats.

Sample 3

Input

All mammals are animals.
All elephants are mammals.
Therefore, all elephants are animals.

Output

    All mammals are animals.
    All elephants are mammals.
    Therefore, all elephants are animals.

Comments

There are no comments at the moment.