By Roberto A. Costa Jr, UNIFEI Brazil
Your teacher would like to make a program with the following characteristics:
The input consists of several test files. Each test file has three rows. In the first line has a variable A that stores a phrase of up to 40 characters. In the second line has a variable B that stores a phrase of up to 40 characters. In the third line has a variable C that stores a phrase of up to 40 characters. As shown in the following input example.
For each file in the input, you have an output file. The output file has four rows as described in items 5, 6, 7, and 8. As shown in the following output example.
|Input Samples||Output Samples|
aaaa bbbb cccc
xxxxx xxxx xx
aaaa bbbb ccccccccxxxxx xxxx xx
ccccxxxxx xxxx xxaaaa bbbb cccc
xxxxx xxxx xxaaaa bbbb cccccccc
aaaa bbbb ccccxxxxx xxxx